Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

fix(electron): cherry-pick macOS plist and Windows EPERM build fixes from main

diegosouzapwe30969fecda6
diff --git a/.github/workflows/electron-release.yml b/.github/workflows/electron-release.yml
index 16d8eceb6d..ffa0dc504e 100644
--- a/.github/workflows/electron-release.yml
+++ b/.github/workflows/electron-release.yml
@@ -88,6 +88,18 @@ jobs:
- name: Install dependencies
run: npm ci
+ env:
+ NPM_CONFIG_LEGACY_PEER_DEPS: true
+
+ - name: Sanitize Windows home directory
+ if: runner.os == 'Windows'
+ shell: bash
+ run: |
+ # The default USERPROFILE contains junction points (Application Data)
+ # that cause EPERM errors during Next.js standalone build glob scans.
+ # Create a clean temp profile directory to avoid this.
+ mkdir -p "$RUNNER_TEMP/home"
+ echo "USERPROFILE=$RUNNER_TEMP/home" >> $GITHUB_ENV
- name: Build Next.js standalone
env:
diff --git a/electron/package.json b/electron/package.json
index 2eb19ab9f0..3ec340f2cc 100644
--- a/electron/package.json
+++ b/electron/package.json
@@ -30,7 +30,8 @@
"electron-builder": "^26.8.1"
},
"overrides": {
- "@xmldom/xmldom": "^0.9.10"
+ "@xmldom/xmldom": "^0.9.10",
+ "plist": "^4.0.0"
},
"build": {
"appId": "online.omniroute.desktop",