- 把 Casks/openless.rb 从 1.2.22 升到 1.2.23 + 对应 SHA256, 避免新用户首装拿到旧版(依赖 release 后 update-cask.yml 自动维护, 但合并 PR322 时 cask 已落后一版,先手工补齐)。 - 删除 Formula/openless.rb:作者在 PR322 中已说明 Tauri DMG bundler 在 Homebrew 沙盒构建里 hdiutil/create-dmg 受限会失败;保留会让 误用 `brew install openless`(不带 --cask)的用户卡住。 Co-authored-by: baiqing <lbx12309@icloud.com>
30 lines
825 B
Ruby
30 lines
825 B
Ruby
cask "openless" do
|
|
arch arm: "aarch64", intel: "x64"
|
|
|
|
version "1.2.23"
|
|
sha256 arm: "c6544555150459ba616ba43b27e226a88da40c5349c8e19f71a0bedfce7050b4",
|
|
intel: "ffcf84f5510ffe369277ddf9980b930fb5fb72a5e799020af4cf4720905625e1"
|
|
|
|
url "https://github.com/appergb/openless/releases/download/v#{version}-tauri/OpenLess_#{version}_#{arch}.dmg"
|
|
name "OpenLess"
|
|
desc "Menu-bar voice input layer for macOS"
|
|
homepage "https://github.com/appergb/openless"
|
|
|
|
livecheck do
|
|
url :url
|
|
regex(/^v?(\d+(?:\.\d+)+)[._-]tauri$/i)
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "OpenLess.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/OpenLess",
|
|
"~/Library/Caches/com.openless.app",
|
|
"~/Library/Logs/OpenLess",
|
|
"~/Library/Preferences/com.openless.app.plist",
|
|
"~/Library/WebKit/com.openless.app",
|
|
]
|
|
end
|