File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,11 +105,11 @@ jobs:
105105
106106 [Run]
107107 Filename: "{app}\ServerRegistrationManager.exe"; Parameters: "install ""{app}\FunscriptPreviewHandler.dll"" -codebase"; Flags: runhidden
108- Filename: "{cmd} "; Parameters: "/c taskkill /im explorer.exe /f && timeout /t 2 && start explorer.exe"; Flags: runhidden postinstall; Description: "Restart Explorer to apply changes"
108+ Filename: "powershell.exe "; Parameters: "-NoProfile -ExecutionPolicy Bypass -Command ""Stop-Process -Name explorer -Force; Start-Sleep -Seconds 2; explorer.exe"" "; Flags: runhidden postinstall; Description: "Restart Explorer to apply changes"
109109
110110 [UninstallRun]
111111 Filename: "{app}\ServerRegistrationManager.exe"; Parameters: "uninstall ""{app}\FunscriptPreviewHandler.dll"""; Flags: runhidden
112- Filename: "{cmd} "; Parameters: "/c taskkill /im explorer.exe /f && timeout /t 2 && start explorer.exe"; Flags: runhidden
112+ Filename: "powershell.exe "; Parameters: "-NoProfile -ExecutionPolicy Bypass -Command ""Stop-Process -Name explorer -Force; Start-Sleep -Seconds 2; explorer.exe"" "; Flags: runhidden
113113
114114 [UninstallDelete]
115115 Type: files; Name: "{app}\FunscriptPreviewHandler.dll";
You can’t perform that action at this time.
0 commit comments