From 1724df9f8bb27ec3f72e593a69cbce9063e50e55 Mon Sep 17 00:00:00 2001 From: Issac Lin Date: Sun, 21 Aug 2022 23:24:33 +0800 Subject: [PATCH] equalizer-apo-np: Fix installation The app's installer does not work properly with quoted args related: https://github.com/ScoopInstaller/Scoop/pull/5065 --- bucket/equalizer-apo-np.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/equalizer-apo-np.json b/bucket/equalizer-apo-np.json index f45ddcdf1..a09c5227f 100644 --- a/bucket/equalizer-apo-np.json +++ b/bucket/equalizer-apo-np.json @@ -29,12 +29,12 @@ " $configurator_process | ForEach-Object { Stop-Process -Id $_.Id }", "} | Out-Null", "", - "Invoke-ExternalCommand \"$dir\\setup.exe\" -ArgumentList '/S' | Out-Null", + "Start-Process \"$dir\\setup.exe\" -ArgumentList '/S' -Wait -Verb RunAs | Out-Null", "Remove-Item \"$dir\\setup.exe\"" ] }, "uninstaller": { - "script": "Invoke-ExternalCommand \"$([Environment]::GetFolderPath('programfiles'))\\EqualizerAPO\\Uninstall.exe\" -ArgumentList '/S' -RunAs | Out-Null" + "script": "Start-Process \"$Env:ProgramFiles\\EqualizerAPO\\Uninstall.exe\" -ArgumentList '/S' -Wait -Verb RunAs | Out-Null" }, "checkver": { "url": "https://sourceforge.net/projects/equalizerapo/files/",