Files

47 lines
2.2 KiB
JSON

{
"version": "1.2.17.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",
"Close FxSound completely before uninstalling."
],
"architecture": {
"64bit": {
"url": "https://github.com/fxsound2/fxsound-app/releases/download/v1.2.17.0/fxsound_setup.exe",
"hash": "cac67c030fd1d9bbaff5cbe19e7d3d874275cf6913e1adcc7f52521697397464"
},
"arm64": {
"url": "https://github.com/fxsound2/fxsound-app/releases/download/v1.2.17.0/fxsound_setup.arm64.exe",
"hash": "72484711a9a9d903b03e6898429024aa25aa2a49643034e95074ff1272762120"
}
},
"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 }",
" Get-ChildItem \"$dir\\*.msi\" | ForEach-Object {",
" Start-Process 'msiexec' -Wait -Verb 'RunAs' -Args @('/x', $_.FullName, '/qn', 'REBOOT=ReallySuppress', '/norestart')",
" }",
"}"
],
"autoupdate": {
"architecture": {
"64bit": {
"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"
}
}
}
}