cicy-desktop 2.1.340 → 2.1.342

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ ; electron-builder 安装脚本钩子(会被自动 include)。
2
+ ;
3
+ ; 背景:静默安装(/S,舰队自更新和一键 bat 都走静默)下,electron-builder
4
+ ; 默认的 runAfterFinish 不会触发 —— 于是"装完 App 没起来",而看门狗计划任务
5
+ ; (CiCyDesktopWatchdog)是 App 运行时才注册的,App 没起来就没人拉它,机器一直
6
+ ; 躺尸,只能人工 RustDesk 逐台救(见 2026-09-04 全舰队升级事故)。
7
+ ;
8
+ ; 修法:安装完成(含静默)后,由安装器显式把 App 拉起来。App 启动时的
9
+ ; ensureWindowsWatchdog 会自行(重新)注册看门狗任务,自愈链路即恢复:
10
+ ; 安装器启动 App → App 注册看门狗 → 之后 App 崩溃/退出,看门狗 1 分钟内拉回。
11
+ ; 保持最小(单行 Exec),不在 NSIS 里内联复杂 PowerShell,避免弄坏安装器。
12
+
13
+ !macro customInstall
14
+ ; --hidden:后台/托盘启动,不抢焦点、不弹主窗
15
+ Exec '"$INSTDIR\${APP_EXECUTABLE_FILENAME}" --hidden'
16
+ !macroend
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cicy-desktop",
3
- "version": "2.1.340",
3
+ "version": "2.1.342",
4
4
  "description": "CiCy - AI-powered operating system browser",
5
5
  "main": "src/main.js",
6
6
  "bin": {