-
我发现了一个开源的编辑器 CudaText - Home ,没有搜到它的官方 Homebrew 安装方法,于是动手开写,但在版本号这块不会搞了。 描述这是它 官网发布页面 的信息,显示 macOS 可用的最新版为 这是它 下载页面 的信息,显示的大版本号为 这是直接复制上图的下载链接: https://sourceforge.net/projects/cudatext/files/release/1.195.0.0/cudatext-macos-cocoa-amd64-1.195.0.5.dmg/download
https://sourceforge.net/projects/cudatext/files/release/1.195.0.0/cudatext-macos-cocoa-aarch64-1.195.0.5.dmg/download 这是它 GitHub 发布页面 。 问题
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
|
Beta Was this translation helpful? Give feedback.
-
这个得用 |
Beta Was this translation helpful? Give feedback.
-
你先看一下吧,我更新了一下,不知道为什么卡死了 |
Beta Was this translation helpful? Give feedback.
-
我详细阅读了官方文档 Class: Homebrew::Livecheck::Strategy::Sourceforge — Homebrew Ruby API 和 Class: Homebrew::Livecheck::Strategy::ExtractPlist — Homebrew Ruby API 。 两种策略都无法正确提取 macOS 应该选用的版本号: livecheck do
url :url
strategy :sourceforge
end cudatext: 1.195.0.5 ==> 1.201.0.2 livecheck do
url :url
strategy :extract_plist
end cudatext: 1.195.0.5 ==> 1.195.0 |
Beta Was this translation helpful? Give feedback.
逻辑上,我写的是没有问题的,不过是比较慢而已