mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-17 02:28:09 +02:00
Log the program version for any app that always attempts to download the latest version, bump SiB tested version
This commit is contained in:
@@ -54,8 +54,8 @@ Else,Set,%ProgramExe%,"LinuxReader.exe"
|
||||
If,%cb_AlwaysDownload%,Equal,True,DirDeleteEx,"%ProgramsCache%\%ProgramFolder%"
|
||||
If,Not,ExistFile,"%ProgramsCache%\%ProgramFolder%\LinuxReader.exe",Run,%ScriptFile%,DownloadProgram
|
||||
Run,%ScriptFile%,ExtractProgram,%TargetPrograms%\%ProgramFolder%
|
||||
// Write the .exe version to the log to aid in debugging
|
||||
FileVersion,"%TargetPrograms%\%ProgramFolder%\%ProgramExe%",%ProgramVer%
|
||||
FileVersion,"%TargetPrograms%\%ProgramFolder%\%ProgramExe%",%ProgramExeVer%
|
||||
Echo,"Program version: v%ProgramExeVer%"
|
||||
|
||||
// Shortcuts
|
||||
If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%"
|
||||
|
Reference in New Issue
Block a user