File size: 1,534 Bytes
178e38e
 
0b9c6c8
178e38e
 
 
 
 
 
 
 
 
0b9c6c8
 
178e38e
 
0b9c6c8
 
 
178e38e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0b9c6c8
178e38e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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