eigent/electron-builder.json
Wendong-Fan 51529f6ed3
Some checks are pending
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
chore: update build yml
2026-01-21 21:27:32 +08:00

101 lines
2.2 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"productName": "Eigent",
"appId": "com.eigent.app",
"asar": true,
"directories": {
"output": "release"
},
"files": [
"dist-electron",
"dist",
"resources",
"!backend",
"!dist/images",
"!**/__pycache__",
"!server",
"!docs"
],
"extraResources": [
{
"from": "backend",
"to": "backend",
"filter": ["**/*", "!.venv/**/*", "!workspace/.initial_env/**/*"]
},
{
"from": "utils",
"to": "utils"
},
{
"from": "resources/prebuilt",
"to": "prebuilt",
"filter": [
"**/*",
"!cache/**/*",
"!**/.npm-cache/**/*",
"!uv_python/**/*.pyc",
"!uv_python/**/__pycache__"
]
}
],
"protocols": [
{
"name": "Eigent OAuth",
"schemes": ["eigent"]
}
],
"publish": [
{
"provider": "github",
"owner": "eigent-ai",
"repo": "eigent",
"releaseType": "release"
}
],
"icon": "build/icon.ico",
"afterPack": "./config/before-sign.cjs",
"afterSign": "./config/notarize.cjs",
"mac": {
"icon": "build/icon.icns",
"target": ["dmg", "zip"],
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"notarize": false,
"extendInfo": {
"CFBundleURLTypes": [
{
"CFBundleURLName": "com.eigent.app",
"CFBundleURLSchemes": ["eigent"]
}
]
}
},
"win": {
"icon": "build/icon.ico",
"artifactName": "${productName}.Setup.${version}.exe",
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
]
},
"linux": {
"icon": "build/icon.png",
"target": ["AppImage"],
"category": "Development"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico",
"include": "build/installer.nsh"
}
}