diff --git a/bucket/fxsound.json b/bucket/fxsound.json index 8504340..9b2eea8 100644 --- a/bucket/fxsound.json +++ b/bucket/fxsound.json @@ -5,11 +5,15 @@ "license": "AGPL-3.0-only", "notes": [ "Installs a virtual audio driver. Run in an admin shell: sudo scoop install fxsound", - "Do not run FxSound in the background when uninstalling." + "Close FxSound completely before uninstalling." ], "architecture": { "64bit": { - "url": "https://raw.githubusercontent.com/fxsound2/fxsound-app/v0.0.0/release/fxsound_setup.exe", + "url": "https://github.com/fxsound2/fxsound-app/releases/download/v0.0.0/fxsound_setup.exe", + "hash": "0000000000000000000000000000000000000000000000000000000000000000" + }, + "arm64": { + "url": "https://github.com/fxsound2/fxsound-app/releases/download/v0.0.0/fxsound_setup.arm64.exe", "hash": "0000000000000000000000000000000000000000000000000000000000000000" } }, @@ -24,13 +28,18 @@ "$msg = \"Please make sure the application, '$app' isn't running in the background before uninstalling!\"", "if ($cmd -eq 'uninstall') {", " if (Get-Process -Name 'FxSound' -ErrorAction 'SilentlyContinue') { error $msg; break }", - " Start-Process 'msiexec' -Wait -Verb 'RunAs' -Args @('/x', \"$dir\\fxsound.x64.msi\", '/qn', 'REBOOT=ReallySuppress', '/norestart')", + " Get-ChildItem \"$dir\\*.msi\" | ForEach-Object {", + " Start-Process 'msiexec' -Wait -Verb 'RunAs' -Args @('/x', $_.FullName, '/qn', 'REBOOT=ReallySuppress', '/norestart')", + " }", "}" ], "autoupdate": { "architecture": { "64bit": { - "url": "https://raw.githubusercontent.com/fxsound2/fxsound-app/v$version/release/fxsound_setup.exe" + "url": "https://github.com/fxsound2/fxsound-app/releases/download/v$version/fxsound_setup.exe" + }, + "arm64": { + "url": "https://github.com/fxsound2/fxsound-app/releases/download/v$version/fxsound_setup.arm64.exe" } } }