mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 10:08:05 +02:00
fix regression in WriteProtectTool extract.
This commit is contained in:
@@ -35,8 +35,8 @@ Author=Homes32
|
|||||||
Level=5
|
Level=5
|
||||||
Selected=False
|
Selected=False
|
||||||
Mandatory=False
|
Mandatory=False
|
||||||
Version=1.1.0.0
|
Version=1.2.0.0
|
||||||
Date=2025-06-01
|
Date=2025-06-09
|
||||||
|
|
||||||
[Variables]
|
[Variables]
|
||||||
%ProgramFolder%="WinFE"
|
%ProgramFolder%="WinFE"
|
||||||
@@ -107,11 +107,7 @@ If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%Prog
|
|||||||
[ExtractProgram]
|
[ExtractProgram]
|
||||||
Echo,"Extracting program files..."
|
Echo,"Extracting program files..."
|
||||||
7z,"e -y -r #$q%ProgramsCache%\%ProgramFolder%\%SetupFile%#$q IntelWinFE\%SourceArch%\%ProgramExe% -o#$q%TargetPrograms%\%ProgramFolder%\#$q"
|
7z,"e -y -r #$q%ProgramsCache%\%ProgramFolder%\%SetupFile%#$q IntelWinFE\%SourceArch%\%ProgramExe% -o#$q%TargetPrograms%\%ProgramFolder%\#$q"
|
||||||
If,Not,#r,Equal,0,Begin
|
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [%SetupFile%]."
|
||||||
// Try without subdir...
|
|
||||||
7z,"e -y -r #$q%ProgramsCache%\%ProgramFolder%\%SetupFile%#$q %SourceArch%\%ProgramExe% -o#$q%TargetPrograms%\%ProgramFolder%\#$q"
|
|
||||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [%SetupFile%]."
|
|
||||||
End
|
|
||||||
|
|
||||||
[#DownloadProgram#]
|
[#DownloadProgram#]
|
||||||
// ===============================================================================================================================
|
// ===============================================================================================================================
|
||||||
|
Reference in New Issue
Block a user