Fixed a bug in Explorer++ that caused the script to fail if an language other then English was selected.

This commit is contained in:
Homes32
2025-08-05 21:20:23 -05:00
parent 45cb58c17e
commit 2ad175d0c9

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5
Selected=False
Mandatory=False
Version=1.1.1.0
Date=2022-02-24
Version=1.1.2.0
Date=2024-08-05
[Variables]
%ProgramFolder%="Explorer++"
@@ -77,7 +77,7 @@ StrFormat,SPLIT,%cmb_Language%,"[",2,%Lang%
StrFormat,RTRIM,%Lang%,1,%Lang%
If,Not,%cmb_Language%,Equal,"Auto",Begin
If,Not,%cmb_Language%,Equal,"English [EN]",Begin,If,Not,ExistFile,"%TargetPrograms%\%ProgramFolder%\Explorer++%Lang%.dll",Begin
If,Not,%cmb_Language%,Equal,"English [EN]",If,Not,ExistFile,"%TargetPrograms%\%ProgramFolder%\Explorer++%Lang%.dll",Begin
// Halt if the language dll doesn't exist.
Halt,"Error: Language resources [%TargetPrograms%\%ProgramFolder%\Explorer++%Lang%.dll] do not exist."
End