- lib.rs: ensure_desktop_shortcut 增加 Linux(写 .desktop 到 ~/Desktop 与 ~/.local/share/applications)与 macOS(Desktop 软链 .app)实现; shortcut_should_ask/decide/maybe_setup_shortcut 放开到非 Windows - 新增 desktop_release/scripts/linux/uninstall.sh 与 macos/uninstall.command: 停 bundle 自有进程 → 删本 bundle 的快捷方式 → 删设置 → 清 WebKit/WKWebView 数据 → 删 bundle 目录(作用域限定本 bundle,不动其他安装) - CI: 将卸载脚本打入 Linux/mac 便携包顶层 - 已在 Ubuntu 24.04 真机验证: cargo build 通过、uninstall.sh 隔离测试通过
6 lines
136 B
Plaintext
6 lines
136 B
Plaintext
# Keep platform-specific scripts with safe line endings.
|
|
*.sh text eol=lf
|
|
*.command text eol=lf
|
|
*.ps1 text eol=crlf
|
|
*.bat text eol=crlf
|