mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
fix variables used in RunProgram
This commit is contained in:
@@ -113,8 +113,9 @@ If,Not,#r,Equal,200,Halt,"Download failed: The code returned was [#r]."
|
|||||||
// Related........: btn_LaunchProgram
|
// Related........: btn_LaunchProgram
|
||||||
// ===============================================================================================================================
|
// ===============================================================================================================================
|
||||||
[LaunchProgram]
|
[LaunchProgram]
|
||||||
If,Not,ExistFile,"%ProgramsCache%\%ProgramFolder%\%ProgramExe%",Run,%ScriptFile%,DownloadProgram
|
If,Not,ExistFile,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",Run,%ScriptFile%,DownloadProgram
|
||||||
ShellExecuteEx,Open,"%ProgramsCache%\%ProgramFolder%\%ProgramExe%"
|
Run,%ScriptFile%,ExtractProgram,"%ProjectTemp%\%ProgramFolder%\%ProgramExe%"
|
||||||
|
ShellExecuteEx,Open,"%ProjectTemp%\%ProgramFolder%\%ProgramExe%"
|
||||||
|
|
||||||
[#ClearDownloadCache#]
|
[#ClearDownloadCache#]
|
||||||
// ===============================================================================================================================
|
// ===============================================================================================================================
|
||||||
|
Reference in New Issue
Block a user