https://github.com/jackple/clippy-by-tauri
https://github.com/jackple/clippy-by-tauri
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jackple/clippy-by-tauri
- Owner: jackple
- Created: 2024-12-25T03:55:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-21T05:54:51.000Z (over 1 year ago)
- Last Synced: 2025-01-21T06:27:36.751Z (over 1 year ago)
- Language: Rust
- Size: 5.05 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# 本地配置
更新配置: `src-tauri/tauri.conf.json`
```sh
"pubkey": "xxx",
"endpoints": ["https://xx.com/clippy2/updater.json"]
```
# 本地启用
```sh
yarn tauri dev
```
# 构建 mac universal 包
```sh
yarn tauri build --target universal-apple-darwin
```
# 构建 icon
前提是当前目录下有`app-icon.png`文件
```sh
yarn tauri icon
```
# 转换 tray icon
前提是安装了 imagemagick
```sh
magick src-tauri/icons/128x128.png -alpha copy -channel RGB -fill black -colorize 100% src-tauri/assets/tray.png
```