cicy-desktop 2.1.131 → 2.1.132

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.
@@ -62,6 +62,20 @@ jobs:
62
62
  - name: Install Electron build dependencies
63
63
  run: npm install --save-dev --no-audit electron@41.0.2 electron-builder@26.7.0
64
64
 
65
+ # Installer builds bundle the prebuilt SPA at src/backends/homepage-react.
66
+ # vite outputs to workers/render/dist, so rebuild + copy here — otherwise the
67
+ # AppImage ships a STALE homepage (e.g. missing the version badge). Mirrors npm-publish.yml.
68
+ - name: Build homepage SPA → src/backends/homepage-react
69
+ shell: bash
70
+ run: |
71
+ cd workers/render
72
+ npm install --no-audit --no-fund
73
+ npm run build
74
+ cd ../..
75
+ rm -rf src/backends/homepage-react/assets src/backends/homepage-react/index.html
76
+ cp -r workers/render/dist/. src/backends/homepage-react/
77
+ echo "homepage bundle: $(grep -o 'assets/index-[A-Za-z0-9_-]*\.js' src/backends/homepage-react/index.html)"
78
+
65
79
  - name: Build Linux app (deb + AppImage)
66
80
  shell: bash
67
81
  env:
@@ -70,6 +70,20 @@ jobs:
70
70
  - name: Install Electron build dependencies in project directory
71
71
  run: npm install --save-dev --no-audit electron@41.0.2 electron-builder@26.7.0
72
72
 
73
+ # Installer builds bundle the prebuilt SPA at src/backends/homepage-react.
74
+ # vite outputs to workers/render/dist, so rebuild + copy here — otherwise the
75
+ # dmg ships a STALE homepage (e.g. missing the version badge). Mirrors npm-publish.yml.
76
+ - name: Build homepage SPA → src/backends/homepage-react
77
+ shell: bash
78
+ run: |
79
+ cd workers/render
80
+ npm install --no-audit --no-fund
81
+ npm run build
82
+ cd ../..
83
+ rm -rf src/backends/homepage-react/assets src/backends/homepage-react/index.html
84
+ cp -r workers/render/dist/. src/backends/homepage-react/
85
+ echo "homepage bundle: $(grep -o 'assets/index-[A-Za-z0-9_-]*\.js' src/backends/homepage-react/index.html)"
86
+
73
87
  - name: Prepare macOS icon
74
88
  shell: bash
75
89
  # cicy-ai.com sometimes returns 522 (origin unreachable). Don't let an
@@ -32,6 +32,20 @@ jobs:
32
32
  - name: Install Electron build dependencies in project directory
33
33
  run: npm install --save-dev --no-audit electron@41.0.2 electron-builder@26.7.0
34
34
 
35
+ # Installer builds bundle the prebuilt SPA at src/backends/homepage-react.
36
+ # vite outputs to workers/render/dist, so rebuild + copy here — otherwise the
37
+ # exe ships a STALE homepage (e.g. missing the version badge). Mirrors npm-publish.yml.
38
+ - name: Build homepage SPA → src/backends/homepage-react
39
+ shell: bash
40
+ run: |
41
+ cd workers/render
42
+ npm install --no-audit --no-fund
43
+ npm run build
44
+ cd ../..
45
+ rm -rf src/backends/homepage-react/assets src/backends/homepage-react/index.html
46
+ cp -r workers/render/dist/. src/backends/homepage-react/
47
+ echo "homepage bundle: $(grep -o 'assets/index-[A-Za-z0-9_-]*\.js' src/backends/homepage-react/index.html)"
48
+
35
49
  - name: Prepare Windows icon
36
50
  shell: powershell
37
51
  continue-on-error: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cicy-desktop",
3
- "version": "2.1.131",
3
+ "version": "2.1.132",
4
4
  "description": "CiCy - AI-powered operating system browser",
5
5
  "main": "src/main.js",
6
6
  "bin": {