Skip to content

Commit e08a1c8

Browse files
feat: update release workflow with production environment variables
chore: modify forge configuration to include .vite in unpacked files chore: update package-lock.json with new dependencies for electron-log and update-electron-app chore: add publisher-github plugin to package.json and remove electron-updater refactor: remove UpdateNotification component and related auto-updater context refactor: clean up IPC context exposer by removing auto-updater context chore: refactor main process to use update-electron-app for auto-updating refactor: delete AutoUpdaterService and related auto-updater logic fix: update ElectronAPI types to remove auto-updater methods and listeners chore: exclude electron-updater from Vite renderer config
1 parent f3bf025 commit e08a1c8

File tree

12 files changed

+321
-373
lines changed

12 files changed

+321
-373
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,18 @@ jobs:
3838
env:
3939
# Skip code signing - builds will be unsigned
4040
CSC_IDENTITY_AUTO_DISCOVERY: false
41+
# Production environment variables
42+
VITE_API_URL: ${{ secrets.PRODUCTION_API_URL || 'https://your-vibes-api-production-url.com/api' }}
43+
VITE_PUSHER_KEY: ${{ secrets.PRODUCTION_PUSHER_KEY || 'your-production-pusher-key' }}
4144
run: |
4245
npm run make
4346
4447
- name: Build and package (Linux)
4548
if: matrix.os == 'ubuntu-latest'
49+
env:
50+
# Production environment variables
51+
VITE_API_URL: ${{ secrets.PRODUCTION_API_URL || 'https://your-vibes-api-production-url.com/api' }}
52+
VITE_PUSHER_KEY: ${{ secrets.PRODUCTION_PUSHER_KEY || 'your-production-pusher-key' }}
4653
run: |
4754
npm run make
4855
@@ -51,6 +58,9 @@ jobs:
5158
env:
5259
# Skip code signing - builds will be unsigned
5360
CSC_IDENTITY_AUTO_DISCOVERY: false
61+
# Production environment variables
62+
VITE_API_URL: ${{ secrets.PRODUCTION_API_URL || 'https://your-vibes-api-production-url.com/api' }}
63+
VITE_PUSHER_KEY: ${{ secrets.PRODUCTION_PUSHER_KEY || 'your-production-pusher-key' }}
5464
run: |
5565
npm run make
5666

forge.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const config: ForgeConfig = {
1515
appBundleId: "com.vibestack.vcode-ide",
1616
appCategoryType: "public.app-category.developer-tools",
1717
asar: {
18-
unpack: "{**/node-pty/**,**/better-sqlite3/**,**/faiss-node/**,**/onnxruntime-node/**,**/@xenova/**,**/sharp/**,**/@img/**,**/@huggingface/**,**/transformers/**,**/@mapbox/node-pre-gyp/**,**/bindings/**,**/nan/**,**/file-uri-to-path/**,**/semver/**,**/detect-libc/**,**/color/**,**/color-string/**,**/color-convert/**,**/color-name/**,**/simple-swizzle/**}",
18+
unpack: "{**/node-pty/**,**/better-sqlite3/**,**/faiss-node/**,**/onnxruntime-node/**,**/@xenova/**,**/sharp/**,**/@img/**,**/@huggingface/**,**/transformers/**,**/@mapbox/node-pre-gyp/**,**/bindings/**,**/nan/**,**/file-uri-to-path/**,**/semver/**,**/detect-libc/**,**/color/**,**/color-string/**,**/color-convert/**,**/color-name/**,**/simple-swizzle/**,**/.vite/**}",
1919
},
2020
ignore: [
2121
// Include only the native modules we need and exclude everything else from node_modules

0 commit comments

Comments
 (0)