Skip to content

Commit

Permalink
steam: Use pre_uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
zengjiapei3000 committed Aug 21, 2024
1 parent e7d67f3 commit aab63f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bucket/steam.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"notes": "Changing Steam library folder is HIGHLY recommended.",
"url": "https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe#/dl.7z",
"pre_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"pre_uninstall": [
"if (!(is_admin)) { error 'Admin rights are required to uninstall steam'; break }"
],
"uninstaller": {
"file": "uninstall.exe",
"args": "/S"
Expand Down

0 comments on commit aab63f8

Please sign in to comment.