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

ayugram 5.8.3 (new cask) #196371

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
16 changes: 16 additions & 0 deletions Casks/a/ayugram.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cask "ayugram" do

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

The URL's domain huggingface.co does not match the homepage domain github.com, a 'verified' parameter has to be added to the 'url' stanza. See https://docs.brew.sh/Cask-Cookbook#when-url-and-homepage-domains-differ-add-verified

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-13, intel)

The URL's domain huggingface.co does not match the homepage domain github.com, a 'verified' parameter has to be added to the 'url' stanza. See https://docs.brew.sh/Cask-Cookbook#when-url-and-homepage-domains-differ-add-verified

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-15, arm)

The URL's domain huggingface.co does not match the homepage domain github.com, a 'verified' parameter has to be added to the 'url' stanza. See https://docs.brew.sh/Cask-Cookbook#when-url-and-homepage-domains-differ-add-verified

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / syntax (macos-15)

The URL's domain huggingface.co does not match the homepage domain github.com, a 'verified' parameter has to be added to the 'url' stanza. See https://docs.brew.sh/Cask-Cookbook#when-url-and-homepage-domains-differ-add-verified

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-13, intel)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-13, intel)

The URL's domain huggingface.co does not match the homepage domain github.com, a 'verified' parameter has to be added to the 'url' stanza. See https://docs.brew.sh/Cask-Cookbook#when-url-and-homepage-domains-differ-add-verified

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-15, arm)

Use `sha256 :no_check` when URL is unversioned.

Check failure on line 1 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-15, arm)

The URL's domain huggingface.co does not match the homepage domain github.com, a 'verified' parameter has to be added to the 'url' stanza. See https://docs.brew.sh/Cask-Cookbook#when-url-and-homepage-domains-differ-add-verified
version "5.8.3"
sha256 "7769048139324700659f73f52b703a65abfb71e6768edc3d3298473565a31849"

# Build from https://github.com/AyuGram/AyuGramDesktop/releases/download/v5.8.3/AyuGram.dmg
url "https://huggingface.co/loxtera/ayu-builds-temp/resolve/main/AyuGram.dmg?download=true"

Check failure on line 6 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-13, intel)

GitHub fork (not canonical repository)

Check failure on line 6 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-15, arm)

GitHub fork (not canonical repository)

Check failure on line 6 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-13, intel)

GitHub fork (not canonical repository)

Check failure on line 6 in Casks/a/ayugram.rb

View workflow job for this annotation

GitHub Actions / test ayugram (macos-15, arm)

GitHub fork (not canonical repository)
Copy link
Member

Choose a reason for hiding this comment

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

I think it is better to use the github url, which is versioned and more reliable.

name "AyuGram"
desc "Is a Telegram client with ghost mode and message history"
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 "Is a Telegram client with ghost mode and message history"
desc "Telegram client with ghost mode and message history"

homepage "https://github.com/AyuGram/AyuGramDesktop"

depends_on macos: ">= :high_sierra"

app "AyuGram.app", target: "AyuGram Desktop.app"
Copy link
Member

Choose a reason for hiding this comment

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

What is the reason for the change of name here? We likely shouldn't be using target here.


zap trash: "~/Library/Application Support/AyuGram Desktop"
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
zap trash: "~/Library/Application Support/AyuGram Desktop"
zap trash: [
"~/Library/Application Support/AyuGram Desktop",
"~/Library/Saved Application State/one.ayugram.AyuGramDesktop.savedState",
]

end
Loading