mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(electron): restore packaged desktop app loading (#1095)
* fix(electron): restore packaged desktop app loading Rebuild and verify Electron native modules before packaging and use the Vite base URL for packaged asset preloads. * test(preload-utils): cover non-root base urls
This commit is contained in:
@@ -252,6 +252,9 @@ jobs:
|
||||
ls -la build/electron/preload.cjs || exit 1
|
||||
ls -la build/index.html || exit 1
|
||||
|
||||
- name: Rebuild and verify Electron native modules
|
||||
run: yarn electron:prepare-package
|
||||
|
||||
- name: Package Electron app
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
@@ -314,6 +317,9 @@ jobs:
|
||||
ls -la build/electron/preload.cjs || exit 1
|
||||
ls -la build/index.html || exit 1
|
||||
|
||||
- name: Rebuild and verify Electron native modules
|
||||
run: yarn electron:prepare-package
|
||||
|
||||
- name: Package Electron app
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
@@ -376,6 +382,9 @@ jobs:
|
||||
ls -la build/electron/preload.cjs || exit 1
|
||||
ls -la build/index.html || exit 1
|
||||
|
||||
- name: Rebuild and verify Electron native modules
|
||||
run: yarn electron:prepare-package
|
||||
|
||||
- name: Package Electron app
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
@@ -439,6 +448,10 @@ jobs:
|
||||
ls -la build/electron/preload.cjs || exit 1
|
||||
ls -la build/index.html || exit 1
|
||||
|
||||
- name: Rebuild and verify Electron native modules
|
||||
shell: bash
|
||||
run: yarn electron:prepare-package
|
||||
|
||||
- name: Package Electron app
|
||||
shell: bash
|
||||
timeout-minutes: 30
|
||||
|
||||
Reference in New Issue
Block a user