diff --git a/Projects/PhoenixPE/Media Creation/Tools/Ventoy.script b/Projects/PhoenixPE/Media Creation/Tools/Ventoy.script index ba4ee11..7cd8363 100644 --- a/Projects/PhoenixPE/Media Creation/Tools/Ventoy.script +++ b/Projects/PhoenixPE/Media Creation/Tools/Ventoy.script @@ -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#]