initial commit

This commit is contained in:
YuanHui
2025-03-11 10:53:34 +08:00
parent f12044f166
commit 149c3f9d9c
6 changed files with 123 additions and 0 deletions

26
Casks/enjoy.rb Normal file
View File

@@ -0,0 +1,26 @@
cask 'enjoy' do
version '0.7.9'
sha256 '4cd771d9408c3acab4ae6870cacb832470ee592fc46d5ccd608de989b312db56'
# 应用程序的下载 URL
url 'https://github.com/ZuodaoTech/everyone-can-use-english/releases/download/v0.7.9/Enjoy-0.7.9-arm64.dmg'
# 应用程序的名称
name 'Enjoy'
# 应用程序的描述
desc 'A custom application for macOS'
# 应用程序的开发者
homepage 'https://github.com/ZuodaoTech/everyone-can-use-english'
# 安装到 Applications 目录
app 'enjoy.app'
# 卸载时需要移除的文件和目录
zap trash: [
'~/Library/Saved Application State/com.electron.enjoy.savedState/',
'~/Library/Caches/Enjoy',
'~/Library/Application Support/Enjoy'
]
end

31
Casks/ugeetablet.rb Normal file
View File

@@ -0,0 +1,31 @@
cask 'ugeetablet' do
version '4.3.5.241012'
# 这里需要替换为你实际下载的 zip 文件的 SHA - 256 校验和
sha256 'ead984d7f7c7c13f956cdc59d4b794ffb2b5ea2ebe9925723223c70dc86294fd'
# 替换为实际的 zip 文件下载链接
url 'https://download.ugee.com.cn/upload/download/20241021/ugee_Mac_4.3.5.241012.zip'
name 'ugee Digitizer Driver'
desc 'Driver for a ugee Q8W digitizer tablet'
homepage 'https://www.ugee.com.cn/'
# 使用 installer 块处理 pkg 安装
installer script: {
executable: '/usr/sbin/installer',
args: ['-pkg', "#{staged_path}/UGEEMac_4.3.5.241012.pkg", '-target', '/'],
sudo: true
}
# 卸载部分
uninstall pkgutil: 'com.ugee.digitizer.driver',
delete: [
'/Library/Application Support/DigitizerDriver',
'/Library/LaunchDaemons/com.ugee.digitizer.driver.plist'
]
# 清理部分
zap trash: [
'~/Library/Preferences/com.ugee.digitizer.driver.plist',
'~/Library/Caches/com.ugee.digitizer.driver'
]
end

28
Casks/ulanzi-deck.rb Normal file
View File

@@ -0,0 +1,28 @@
cask 'ulanzi-deck' do
version '1.7.0'
sha256 '12ba697970f4696954c800dea28a5ab6bccbd8b88eb4cdf453bf72ef18cce8b5'
# 应用程序的下载 URL
url 'https://cdn.ulanzistudio.com/UlanziDeck/1.7.0/Mac_Apple_UlanziDeck_V1.7.0_20250208.dmg'
# 应用程序的名称
name 'UlanziDeck'
# 应用程序的描述
desc 'A custom application for macOS'
# 应用程序的开发者
homepage 'https://ulanzistudio.com'
# 安装到 Applications 目录
app 'UlanziDeck.app'
# 卸载时需要移除的文件和目录
zap trash: [
'~/Library/Preferences/com.ulanzistudio.UlanziDeck.plist',
'~/Library/Saved\ Application\ State/ulanzi.UlanziDeck.savedState',
'~/Library/Caches/UlanziDeck',
'~/Library/Application Support/Ulanzi'
]
end