Use https for BeyondCompare download, use native decompress in for VeraCrypt (requires PEBakery 7z bin updated to 23.01)

This commit is contained in:
Homes32
2023-10-08 19:22:08 -05:00
parent ebc158ef07
commit 5ac9085618
2 changed files with 6 additions and 10 deletions

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5
Selected=False
Mandatory=False
Version=1.1.6.0
Date=2023-09-29
Version=1.1.7.0
Date=2023-10-08
[Variables]
%ProgramFolder%="Beyond Compare 4"
@@ -234,7 +234,7 @@ StrFormat,RTRIM,%Lang%,1,%Lang%
If,%Lang%,Equal,"en",Set,%Lang%,""
Else,Set,%Lang%,"-%Lang%"
Set,%DownloadURL%,"http://www.scootersoftware.com/files/BCompare%Lang%-%ProgramVer%.exe"
Set,%DownloadURL%,"https://www.scootersoftware.com/files/BCompare%Lang%-%ProgramVer%.exe"
Echo,"Downloading %ScriptTitle%..."
WebGet,%DownloadURL%,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",NOERR

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=5
Selected=False
Mandatory=False
Version=1.1.0.0
Date=2023-10-01
Version=1.1.1.0
Date=2023-10-08
[Variables]
%ProgramFolder%="VeraCrypt"
@@ -53,11 +53,7 @@ If,%cb_RunFromRam%,Equal,True,RunFromRam
// Extract
ExtractAllFiles,%ScriptFile%,Setup,%ProjectTemp%
// As of 10/02/23 the internal decompress command has not been updated for 7z arm filter
//Decompress,"%ProjectTemp%\%SetupFile%","%ProjectTemp%\%ProgramFolder%"
7z,"x -y #$q%ProjectTemp%\%SetupFile%#$q -o#$q%ProjectTemp%\%ProgramFolder%#$q"
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [%SetupFile%]. The error code returned was [#r]."
Decompress,"%ProjectTemp%\%SetupFile%","%ProjectTemp%\%ProgramFolder%"
DirCopy,"%ProjectTemp%\%ProgramFolder%\docs","%TargetPrograms%\%ProgramFolder%"
DirCopy,"%ProjectTemp%\%ProgramFolder%\Languages","%TargetPrograms%\%ProgramFolder%"