Skip to content
Merged
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
11 changes: 5 additions & 6 deletions Casks/poke-token-bar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@

app "PokeTokenBar.app"

postflight do
system_command "/usr/bin/xattr",
args: ["-cr", "#{appdir}/PokeTokenBar.app"],
sudo: false
postflight_steps do
run "/usr/bin/xattr",
args: ["-cr", "{{appdir}}/PokeTokenBar.app"],
sudo: false
end


zap trash: [
"~/Library/Application Support/PokeTokenBar",
"~/Library/Preferences/io.github.chattymin.poketokenbar.plist",
Expand All @@ -24,4 +23,4 @@
"~/Library/Logs/PokeTokenBar.crash.log",
"~/Library/Logs/PokeTokenBar.running",
]
end
end