Skip to content

Commit 3b45c5c

Browse files
authored
feat(scripts): add uninstall and zap stanzas (#77)
Fixed a typo in the release workflow and added uninstall/zap instructions to the Homebrew cask Change-Id: I529fc138981af6cad8566d8d5d40f474357d920a Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent 98c184d commit 3b45c5c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
permissions: {}
1111

1212
# Cancel in-progress runs for when multiple PRs get merged
13-
# in quickl succession. Ignore this for tag releases though.
13+
# in quick succession. Ignore this for tag releases though.
1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
cancel-in-progress: ${{ !contains(github.ref, 'tags/')}}

scripts/update-cask.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ cask "coder-desktop${SUFFIX}" do
106106
depends_on macos: ">= :sonoma"
107107
108108
app "Coder Desktop.app"
109+
110+
uninstall quit: [
111+
"com.coder.Coder-Desktop",
112+
"com.coder.Coder-Desktop.VPN",
113+
],
114+
login_item: "Coder Desktop"
115+
116+
zap trash: [
117+
"~/Library/Caches/com.coder.Coder-Desktop",
118+
"~/Library/HTTPStorages/com.coder.Coder-Desktop",
119+
"~/Library/Preferences/com.coder.Coder-Desktop.plist",
120+
],
121+
delete: "/var/root/Library/Containers/com.Coder-Desktop.VPN/Data/Documents/coder-vpn.dylib"
109122
end
110123
EOF
111124

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy