### 现象 ## windows 下能开机启动 因为是基础工具,这个应该是必须要有的功能, 用户应该能设置是否开启 ### 影响 ## 还需要手动.比较麻烦 ### 建议接受标准 ## windows 下能开机启动 用户可设置 ### TODO / 不确定项 _No response_
Activity
millionart commentedon May 3, 2026
最好直接放个启动快捷方式,别走注册表
appergb commentedon May 3, 2026
认领。
实施方案:用 Tauri 官方
tauri-plugin-autostart,跨 macOS / Linux / Windows 三平台。~/Library/LaunchAgents/com.openless.app.plist(LaunchAgent)~/.config/autostart/openless.desktop(XDG autostart)HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run(per-user,不需要 admin)UI:设置页 → 录制 区追加一个「开机自启」Toggle,状态以 OS 真实状态为准(直接调插件
isEnabled/enable/disable),不进 prefs。分支:
feat/autostart-194appergb commentedon May 3, 2026
补充当前分支
feat/autostart-194审计发现:开机启动实现还没有形成完整用户入口闭环。证据:
openless-all/app/src-tauri/src/lib.rs:59-65已注册tauri_plugin_autostart。openless-all/app/src/pages/Settings.tsx:7导入了disableAutostart/enableAutostart/isAutostartEnabled。影响:后端能力存在,但用户无法从设置入口开启、关闭或确认开机启动状态;从入口到出口的体验仍未满足本 issue 验收。
建议验收:设置页出现开机自启 Toggle,初始状态来自 OS 真实状态;切换时调用插件 enable/disable;失败时有明确错误提示;不依赖本地 prefs 作为状态真相。
fix(autostart): toggle 失败给用户看错误,不再吞到 console (#194)
feat(autostart): macOS / Linux / Windows 三平台开机自启
chore(release): 1.2.14