mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Add ELECOM Mouse Assistant v5.2.13.000
Add new cask ELECOM Mouse Assistant @ v.5.2.13.000. It configures mouse options for ELECOM mice. It was previously part of homebrew-cask-drivers, but that project is deprecated and this cask was never migrated. The reason for not migrating seemed to be it was missing a `zap` stanza, which is unecessary if there's an uninstall stanza. I recreated this cask formula following the cookbook. I also confirmed the uninstall stanza is configured correctly for this latest version of the package, which happens to be the same as before. The cask formula from homebrew-cask-drivers which was referenced in part can be viewed here: https://github.com/Homebrew/homebrew-cask-drivers/blob/c6ba38948541587b2b3634fd0acb1c9bd6257e1a/Casks/elecom-mouse-assistant.rb
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
cask "elecom-mouse-assistant" do
|
||||
version "5.2.13.000"
|
||||
sha256 "9896a8efa0cb6de3f8e0ecf1d39f21e14f9c2f7a0798dbf36649bcd9d4944e2e"
|
||||
|
||||
url "https://dl.elecom.co.jp/support/download/peripheral/mouse/assistant/mac/ELECOM_Mouse_Installer_#{version}.zip"
|
||||
name "ELECOM Mouse Assistant"
|
||||
desc "Software to more effectively use an ELECOM mouse"
|
||||
homepage "https://www.elecom.co.jp/global/download-list/utility/mouse_assistant/mac/"
|
||||
|
||||
livecheck do
|
||||
url "https://www.elecom.co.jp/global/download-list/utility/mouse_assistant/mac/"
|
||||
regex(/ELECOM_Mouse_Installer_(\d+(?:\.\d+)+)\.zip/i)
|
||||
end
|
||||
|
||||
depends_on macos: ">= :el_capitan"
|
||||
|
||||
pkg "ELECOM_Mouse_Installer_#{version}.pkg"
|
||||
|
||||
uninstall launchctl: "jp.com.ELECOM.autorun",
|
||||
pkgutil: [
|
||||
"jp.co.elecom.ELECOM-Mouse-Util",
|
||||
"jp.co.elecom.mouse.ELECOM-Uninstall",
|
||||
"jp.co.elecom.mousePane",
|
||||
]
|
||||
|
||||
caveats do
|
||||
reboot
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user