Fixed an issue where ventoy would extract from setup every run instead of using the cached version.

updated ventoy to v1.0.99
This commit is contained in:
Homes32
2024-06-17 22:23:02 -05:00
parent eedd4f9a8f
commit 1f3e2646f4

View File

@@ -30,28 +30,30 @@
[Main]
Title=Ventoy
Description=(v1.0.96) Ventoy is an open source tool used to create bootable USB devices capable of launching multiple ISO/WIM/IMG/VHD(x)/EFI files.
Description=(v1.0.99) Ventoy is an open source tool used to create bootable USB devices capable of launching multiple ISO/WIM/IMG/VHD(x)/EFI files.
Author=Homes32
Level=8
Selected=None
Mandatory=False
Version=1.1.17.0
Date=2023-10-13
Version=1.1.20.0
Date=2024-06-10
[Variables]
%ProgramFolder%="%Workbench%\Ventoy"
%ProgramExe%="Ventoy2Disk.exe"
%ProgramVer%="1.0.96"
%ProgramVer%="1.0.99"
%DownloadURL%=https://github.com/ventoy/Ventoy/releases/download/v%ProgramVer%/ventoy-%ProgramVer%-windows.zip
%SetupFile%="Ventoy.zip"
[Process]
Echo,"Launching %ScriptTitle%..."
If,Not,ExistFile,"%ProgramFolder%\%ProgramExe%",Run,%ScriptFile%,DownloadProgram
If,Not,ExistFile,"%ProgramFolder%\%ProgramExe%",Begin
Run,%ScriptFile%,DownloadProgram
// Extract to workbench (instead of temp) to allow the user can customize the boot menu, plugins, etc.
Run,%ScriptFile%,ExtractProgram,%ProgramFolder%
End
// Extract to workbench (instead of temp) to allow the user can customize the boot menu, plugins, etc.
Run,%ScriptFile%,ExtractProgram,%ProgramFolder%
ShellExecuteEx,Open,"%ProgramFolder%\%ProgramExe%","",%ProgramFolder%
[#ExtractProgram#]