mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
Fixed a bug in Explorer++ that caused the script to fail if an language other then English was selected.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user