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

lets 3.1.0 (new cask) #189017

Open
wants to merge 1 commit 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
38 changes: 38 additions & 0 deletions Casks/l/lets.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
cask "lets" do
version "3.1.0"
sha256 "24ee0b7e6a9bfc27102b309b43b58f6941e8b3d1db68fa7da3e2bb3a4c0f3544"

url "https://d1lzipub3cpsx.cloudfront.net/download/apps/2/#{version}/LETS-Installer.zip",
verified: "d1lzipub3cpsx.cloudfront.net/"
name "LETS Desktop App"
name "LETSデスクトップアプリ"
desc "Font manager for Fontworks' LETS"
homepage "https://lets.fontworks.co.jp/"

livecheck do
url "https://lets.fontworks.co.jp/download"
regex(/class="c-download__txt"[^>]*?>macOS[^<]*?(\d+(?:\.\d+)+)</i)
end

depends_on macos: ">= :mojave"

installer manual: "LETS-Installer.app/Contents/MacOS/LETS-Installer"

uninstall launchctl: "LETS",
quit: "jp.co.fontworks.LETS",
delete: [
"/Applications/Fontworks/LETS",
"/Applications/Fontworks/LETS-Ver#{version}",
],
rmdir: "/Applications/Fontworks"

zap trash: [
"/Library/Application Support/Fontworks/LETS",
"/Library/LaunchAgents/jp.co.fontworks.LETS.plist",
"~/Library/Application Support/Fontworks/LETS",
"~/Library/Caches/jp.co.fontworks.LETS",
"~/Library/HTTPStorages/jp.co.fontworks.LETS",
"~/Library/HTTPStorages/jp.co.fontworks.LETS.binarycookies",
"~/Library/Preferences/jp.co.fontworks.LETS.plist",
]
end
Loading