Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gwtaylor
Copy link
Contributor

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:

Additionally, if adding a new cask:

  • Named the cask according to the token reference.
  • Checked the cask was not already refused (add your cask's name to the end of the search field).
  • 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:

  • Inspected all paths created within 30 minutes of installing and using the app
  • Search ~/Library for 'Shortwave' (case insensitive)
  • Check the obvious paths manually: ~/Library/Application Support, ~/Library/Preferences.

Comment on lines +14 to +19
livecheck do
url :url
strategy :extract_plist do |items|
items["com.electron.shortwave"]&.bundle_version&.short_version
end
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
desc "Email client desktop application"
desc "Email client"


app "Shortwave.app"

zap trash: []
Copy link
Member

@bevanjkay bevanjkay Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
depends_on macos: ">= :catalina"
auto_updates true
depends_on macos: ">= :catalina"

@bevanjkay
Copy link
Member

Thank you @gwtaylor - I have left some review comments.
The methods linked here surfaced some zap paths. Specifically brew createzap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants