Skip to content

Commit

Permalink
fix: show prompt after uninstalling
Browse files Browse the repository at this point in the history
  • Loading branch information
ohaiibuzzle committed Jul 1, 2023
1 parent 1ad79fa commit f8f4344
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
24 changes: 3 additions & 21 deletions Harbor/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -511,17 +511,6 @@
}
}
},
"menu.harbor.reinstallGPTK" : {
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Reinstall GPTK"
}
}
}
},
"setup.btn.installGPK" : {
"localizations" : {
"en" : {
Expand Down Expand Up @@ -602,19 +591,12 @@
}
}
},
"setup.message.enterPassword" : {
"extractionState" : "stale",
"setup.message.removalComplete" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Please enter your admin password in order to un-quarantine the newly installed bottle"
}
},
"pl" : {
"stringUnit" : {
"state" : "translated",
"value" : "Wpisz hasło Administratora, aby usunąć kwarantannę z nowo zainstalowanej butelki"
"value" : "Game Porting Toolkit removal complete. You can now close this window"
}
}
}
Expand Down Expand Up @@ -1529,4 +1511,4 @@
}
},
"version" : "1.0"
}
}
3 changes: 2 additions & 1 deletion Harbor/Systems/GPKUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ final class GPKUtils {
func completelyRemoveGPK() {
// Remove the GPK bottle from Brew
let aaplScript = """
property shellScript : "/usr/local/Homebrew/bin/brew uninstall game-porting-toolkit"
property shellScript : "/usr/local/Homebrew/bin/brew uninstall game-porting-toolkit && \
echo '\(String(localized: "setup.message.removalComplete"))' && exit"
tell application "Terminal"
activate
Expand Down

0 comments on commit f8f4344

Please sign in to comment.