Skip to content

Commit

Permalink
virtualbox-with-extension-pack-np: Fix autoupdate for ext-pack version
Browse files Browse the repository at this point in the history
Add VirtualBox extension pack to autoupdate URLs, to prevent mismatch
between base installer and extension pack versions. Scoop supports
autoupdate URL collections with: [ScoopInstaller/Scoop#3518](ScoopInstaller/Scoop#3518).

Related to #238.
  • Loading branch information
beargle committed Apr 30, 2022
1 parent 04cc7a2 commit dbb7765
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bucket/virtualbox-with-extension-pack-np.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"installer": {
"script": [
"Start-Process -Wait -WindowStyle Hidden cmd \"/c call `\"$dir\\VBoxSetup.exe`\" --msiparams INSTALLDIR=`\"$dir`\" VBOX_START=0 REBOOT=ReallySuppress --silent && icacls `\"$dir`\" /grant Everyone:F /T && echo y | `\"$dir\\VBoxManage.exe`\" extpack install --replace `\"$dir\\Oracle_VM_VirtualBox_Extension_Pack-$version.vbox-extpack`\"\" -Verb RunAs",
"Start-Process -Wait -WindowStyle Hidden cmd \"/c call `\"$dir\\VBoxSetup.exe`\" --msiparams INSTALLDIR=`\"$dir`\" VBOX_START=0 REBOOT=ReallySuppress --silent && icacls `\"$dir`\" /grant Everyone:F /T && echo y | `\"$dir\\VBoxManage.exe`\" extpack install --replace `\"$dir\\Oracle_VM_VirtualBox_Extension_Pack-$version-$matchRevision.vbox-extpack`\"\" -Verb RunAs",
"Remove-Item \"$dir\\VBoxSetup.exe\"",
"Remove-Item \"$env:PUBLIC\\Desktop\\Oracle VM VirtualBox.lnk\"",
"Remove-Item -Recurse \"$([Environment]::GetFolderPath('commonstartmenu'))\\Programs\\Oracle VM VirtualBox\""
Expand Down Expand Up @@ -68,7 +68,10 @@
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.virtualbox.org/virtualbox/$version/VirtualBox-$version-$matchRevision-Win.exe#/VBoxSetup.exe"
"url": [
"https://download.virtualbox.org/virtualbox/$version/VirtualBox-$version-$matchRevision-Win.exe#/VBoxSetup.exe",
"https://download.virtualbox.org/virtualbox/$version/Oracle_VM_VirtualBox_Extension_Pack-$version-$matchRevision.vbox-extpack"
]
}
},
"hash": {
Expand Down

0 comments on commit dbb7765

Please sign in to comment.