From f18c8522e79917e3885fd21242300cb1fcd425c4 Mon Sep 17 00:00:00 2001 From: Jonas8272 Date: Sat, 21 Nov 2026 15:00:24 +0000 Subject: [PATCH] Add bucket/fxsound.json --- bucket/fxsound.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 bucket/fxsound.json diff --git a/bucket/fxsound.json b/bucket/fxsound.json new file mode 100644 index 0000000..8504340 --- /dev/null +++ b/bucket/fxsound.json @@ -0,0 +1,37 @@ +{ + "version": "0.0.0", + "description": "FxSound: open-source audio enhancer with equalizer, effects and presets", + "homepage": "https://www.fxsound.com/", + "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." + ], + "architecture": { + "64bit": { + "url": "https://raw.githubusercontent.com/fxsound2/fxsound-app/v0.0.0/release/fxsound_setup.exe", + "hash": "0000000000000000000000000000000000000000000000000000000000000000" + } + }, + "pre_install": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "Start-Process \"$dir\\$fname\" -Wait -Verb 'RunAs' -Args @('/exenoui', '/qn')", + "Start-Process \"$dir\\$fname\" -Wait -Verb 'RunAs' -Args @('/extract', $dir)", + "Remove-Item \"$dir\\$fname\"; Start-Sleep -Seconds 10; taskkill /f /im 'FxSound.exe' | Out-Null" + ], + "pre_uninstall": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "$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')", + "}" + ], + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://raw.githubusercontent.com/fxsound2/fxsound-app/v$version/release/fxsound_setup.exe" + } + } + } +} \ No newline at end of file