-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
shortwave 2024.11.03 (new cask) #192932
base: master
Are you sure you want to change the base?
shortwave 2024.11.03 (new cask) #192932
Conversation
livecheck do | ||
url :url | ||
strategy :extract_plist do |items| | ||
items["com.electron.shortwave"]&.bundle_version&.short_version | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
livecheck do | |
url :url | |
strategy :extract_plist do |items| | |
items["com.electron.shortwave"]&.bundle_version&.short_version | |
end | |
end | |
livecheck do | |
url "https://storage.googleapis.com/shortwave-downloads/desktop_app/darwin/#{arch}/RELEASES.json" | |
strategy :json do |json| | |
json["currentRelease"] | |
end | |
end |
sha256 arm: "8c9c4db34e110b28ef71ed78c0bc4a945a5d66b3fa3ff968054d447dccd3bd0a", | ||
intel: "2bd28ec2bba815dedac0082748234663343682af666c798754bb258ff87ab90b" | ||
|
||
url "https://storage.googleapis.com/shortwave-downloads/desktop_app/darwin/#{arch}/Shortwave%20Installer%20(#{arch}).dmg", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url "https://storage.googleapis.com/shortwave-downloads/desktop_app/darwin/#{arch}/Shortwave%20Installer%20(#{arch}).dmg", | |
url "https://storage.googleapis.com/shortwave-downloads/desktop_app/darwin/#{arch}/Shortwave-darwin-#{arch}-#{version}.zip", |
url "https://storage.googleapis.com/shortwave-downloads/desktop_app/darwin/#{arch}/Shortwave%20Installer%20(#{arch}).dmg", | ||
verified: "storage.googleapis.com/shortwave-downloads/" | ||
name "Shortwave" | ||
desc "Email client desktop application" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
desc "Email client desktop application" | |
desc "Email client" |
|
||
app "Shortwave.app" | ||
|
||
zap trash: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zap trash: [] | |
zap trash: [ | |
"~/Library/Application Support/Shortwave", | |
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.shortwave.sfl3", | |
"~/Library/Caches/com.electron.shortwave", | |
"~/Library/Caches/com.electron.shortwave.ShipIt", | |
"~/Library/HTTPStorages/com.electron.shortwave", | |
"~/Library/Logs/Shortwave", | |
"~/Library/Preferences/com.electron.shortwave.plist", | |
"~/Library/Saved Application State/com.electron.shortwave.savedState", | |
] |
end | ||
end | ||
|
||
depends_on macos: ">= :catalina" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
depends_on macos: ">= :catalina" | |
auto_updates true | |
depends_on macos: ">= :catalina" |
Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.
In the following questions
<cask>
is the token of the cask you're submitting.After making any changes to a cask, existing or new, verify:
brew audit --cask --online <cask>
is error-free.brew style --fix <cask>
reports no offenses.Additionally, if adding a new cask:
brew audit --cask --new <cask>
worked successfully.HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask <cask>
worked successfully.brew uninstall --cask <cask>
worked successfully.I was surprised that there was nothing to add to
zap trash
. Here is what I did to verify:~/Library
for 'Shortwave' (case insensitive)~/Library/Application Support
,~/Library/Preferences
.