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

marginnote 4.1.4 #185753

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

foreverangelwing
Copy link

Description

This pull request updates the Homebrew Cask for MarginNote from version 3.7.25 to version 4.14.

Changes:

  • Updated version to 4.14
  • Updated url to https://d.marginnote.cn/MarginNote4.dmg
  • Updated app target to MarginNote 4.app
  • Updated sha256 to the new checksum for the updated dmg file
  • Updated the livecheck URL to https://dist.marginnote.cn/marginnote4.xml

Reason for the Update:

MarginNote has released version 4.14 with new features and improvements. This update reflects the latest available version to ensure users can download and use the most current release.

Let me know if further modifications or corrections are needed. Thanks for reviewing!

Copy link
Member

@khipp khipp left a comment

Choose a reason for hiding this comment

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

Thank you for your first contribution to homebrew-cask, @foreverangelwing! 🎉

There are still a few minor issues to address:

We should continue using interpolation for the version rather than hardcoding it in other stanzas. The placeholder #{version.major} will be replaced by the major version (e.g., 4) during evaluation.

Please also squash your commits to maintain a cleaner history.

@@ -1,22 +1,22 @@
cask "marginnote" do
version "3.7.25"
sha256 "4409e29b6046fc71442f3f2085375dada87b3f06a90892b2334823b0dad75ad3"
version "4.14"
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
version "4.14"
version "4.1.4"


url "https://marginstudy.com/mac/MarginNote#{version.major}.dmg",
verified: "marginstudy.com/mac/"
url "https://d.marginnote.cn/MarginNote4.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://d.marginnote.cn/MarginNote4.dmg",
url "https://dist.marginnote.cn/MarginNote#{version}.dmg",

name "MarginNote"
desc "E-reader"
homepage "https://www.marginnote.com/"

livecheck do
url "https://dist.marginnote.cn/marginnote#{version.major}.xml"
url "https://dist.marginnote.cn/marginnote4.xml"
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://dist.marginnote.cn/marginnote4.xml"
url "https://dist.marginnote.cn/marginnote#{version.major}.xml"

strategy :sparkle, &:short_version
end

auto_updates true
depends_on macos: ">= :sierra"
depends_on macos: ">= :sequoia"
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: ">= :sequoia"
depends_on macos: ">= :monterey"


app "MarginNote #{version.major}.app"
app "MarginNote 4.app"
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
app "MarginNote 4.app"
app "MarginNote #{version.major}.app"

@khipp khipp changed the title Update MarginNote to version 4.14 marginnote 4.1.4 Sep 17, 2024
@krehel krehel added the awaiting user reply Issue needs response from a user. label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting user reply Issue needs response from a user.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants