Skip to content

feat(scripts): add uninstall and zap stanzas #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
permissions: {}

# Cancel in-progress runs for when multiple PRs get merged
# in quickl succession. Ignore this for tag releases though.
# in quick succession. Ignore this for tag releases though.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'tags/')}}
Expand Down
13 changes: 13 additions & 0 deletions scripts/update-cask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,19 @@ cask "coder-desktop${SUFFIX}" do
depends_on macos: ">= :sonoma"

app "Coder Desktop.app"

uninstall quit: [
"com.coder.Coder-Desktop",
"com.coder.Coder-Desktop.VPN",
],
login_item: "Coder Desktop"

zap trash: [
"~/Library/Caches/com.coder.Coder-Desktop",
"~/Library/HTTPStorages/com.coder.Coder-Desktop",
"~/Library/Preferences/com.coder.Coder-Desktop.plist",
],
delete: "/var/root/Library/Containers/com.Coder-Desktop.VPN/Data/Documents/coder-vpn.dylib"
end
EOF

Expand Down
Loading