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

BIN
.DS_Store vendored Normal file

Binary file not shown.

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

20
Formula/autoadb.rb Normal file
View File

@@ -0,0 +1,20 @@
# autoadb.rb
class Autoadb < Formula
desc "Automatically execute commands when an ADB device is connected"
homepage "https://github.com/rom1v/autoadb" # 请替换为实际的项目仓库地址
url "https://codeload.github.com/rom1v/autoadb/zip/refs/heads/master" # 请替换为实际的项目版本压缩包地址
sha256 "ef8d52e24d906a68c5a7df770fc6d2a13a79827fb55b410b833ae8485e66dd82" # 请替换为实际的压缩包 SHA256 哈希值
version "0.1.0" # 添加版本号
license "Apache-2.0"
depends_on "rust" => :build
def install
system "cargo", "build", "--release"
bin.install "target/release/autoadb"
end
test do
system "#{bin}/autoadb", "--help"
end
end

18
README.md Normal file
View File

@@ -0,0 +1,18 @@
# Lostecho Local
## How do I install these formulae?
`brew install alsesa/homebrew-tap/<formula>`
Or `brew tap alsesa/homebrew-tap` and then `brew install <formula>`.
Or, in a [`brew bundle`](https://github.com/Homebrew/homebrew-bundle) `Brewfile`:
```ruby
tap "alsesa/homebrew-tap"
brew "<formula>"
```
## Documentation
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).