Skip to content

Commit 1585967

Browse files
committed
feat(scripts): add uninstall and zap stanzas
Change-Id: I529fc138981af6cad8566d8d5d40f474357d920a Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent 98c184d commit 1585967

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/release.yml

+1-1
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

+12
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@ 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+
]
109121
end
110122
EOF
111123

0 commit comments

Comments
 (0)