mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-26 19:00:00 +08:00
feat: 开机自启功能(tauri-plugin-autostart)
- Cargo.toml: 添加 tauri-plugin-autostart 依赖(桌面端) - lib.rs: 初始化 autostart 插件(MacosLauncher::LaunchAgent) - capabilities/default.json: 添加 autostart 权限 - settings.js: 面板设置新增开机自启开关(仅 Tauri 模式显示) - package.json: 添加 @tauri-apps/plugin-autostart 前端依赖
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2.5.0",
|
||||
"@tauri-apps/plugin-autostart": "^2.5.1",
|
||||
"@tauri-apps/plugin-shell": "^2.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user