Skip to content

Instantly share code, notes, and snippets.

@jjeising
Created December 27, 2023 17:04
Show Gist options
  • Save jjeising/e7562a8568edc5d33b88696e8e721b7f to your computer and use it in GitHub Desktop.
Save jjeising/e7562a8568edc5d33b88696e8e721b7f to your computer and use it in GitHub Desktop.
Th-MakerX Cask
cask "th-makerx" do
version "4.5.1"
sha256 "6c0e812b9283794b545e2edff7ebaa3612a62a19caa0d14dd3d51d8cd9b6bffc"
url "http://www5.wind.ne.jp/miko/mac_soft/th-maker_x/hqx/Th-MakerX_#{version.no_dots}.zip"
name "Th-MakerX"
desc "makes resized image files of dropped image files"
homepage "http://www5.wind.ne.jp/miko/mac_soft/th-maker_x/index-en.html"
depends_on macos: ">= :mojave"
livecheck do
url :homepage
regex(/Current Version:<\/TD>\s*<TD>(\d+(?:\.\d+(?:\.\d+)?)?)/i)
end
app "Th-MakerX_#{version.no_dots}/Th-MakerX.app"
zap trash: [
"~/Library/Preferences/jp.ne.wind.miko.ThMakerX3.plist",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/jp.ne.wind.miko.thmakerx3.sfl*",
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment