feat(electron): separate dev/uat build targets with isolated update channels

- Add build.dev.json to override publish.url for dev environment
- Add build:dev and build:uat scripts; each sets its own feed URL
- copy-to-nas.js now accepts env argument; outputs to
  electron-update/{dev|uat}/ locally and on NAS
- docker-compose volume mounts updated to serve from env subdirs
- Remove stale artifacts from electron-update root

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
wjl
2026-04-21 15:35:07 +08:00
parent 671933d960
commit 01412a0a94
6 changed files with 51 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ services:
ports:
- "7033:80"
volumes:
- ./electron-update:/usr/share/nginx/html/electron-update
- ./electron-update/dev:/usr/share/nginx/html/electron-update
environment:
- NODE_ENV=production
restart: unless-stopped