codex-proxy / packages /electron /electron-builder.yml
icebear0828
fix: electron-builder workspace path resolution
0b9c6c8
raw
history blame
1.53 kB
appId: com.codex-proxy.app
productName: Codex Proxy
electronVersion: "35.7.5"
publish:
provider: github
owner: icebear0828
repo: codex-proxy
directories:
output: release
# Pre-pack script copies config/, public/, public-desktop/, bin/ from
# monorepo root into this directory. Paths here are relative to projectDir.
files:
- dist-electron/**/*
- config/**/*
- public/**/*
- public-desktop/**/*
- electron/assets/**/*
- package.json
- "!node_modules"
- node_modules/koffi/**
- "!dist"
# Static assets unpacked from asar (filesystem access at runtime)
asarUnpack:
- "config/**/*"
- "public/**/*"
- "public-desktop/**/*"
- "node_modules/koffi/**"
- "**/*.node"
# curl-impersonate binaries as extra resources (outside asar)
extraResources:
- from: bin/
to: bin/
filter:
- "**/*"
win:
target:
- target: nsis
arch: [x64]
icon: electron/assets/icon.png
signAndEditExecutable: false
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
perMachine: false
mac:
target:
- target: dmg
arch: [arm64, x64]
- target: zip
arch: [arm64, x64]
icon: electron/assets/icon.png
category: public.app-category.developer-tools
# No Apple Developer certificate — electron-builder auto-falls back to
# ad-hoc signing (codesign -s -). Users see "unidentified developer"
# warning and can right-click → Open to bypass.
linux:
target:
- target: AppImage
arch: [x64]
icon: electron/assets/icon.png
category: Development