Files
TrueGrowth/electron-builder.yml
jiam 5119ac0ef8
Some checks failed
CI / main (push) Has been cancelled
CI / release-e2e (push) Has been cancelled
Sync latest TrueGrowth updates
2026-07-08 02:03:18 +08:00

80 lines
1.9 KiB
YAML

appId: ai.truegrowth.desktop
productName: TrueGrowth
copyright: Copyright © 2026 TrueGrowth
directories:
app: dist/desktop/app
output: dist/desktop/release
buildResources: apps/electron/build
asar: true
asarUnpack:
- apps/electron/assets/**
- scripts/**
- vendor/aigcpanel/**
- vendor/Agent-Reach/**
- vendor/social-auto-upload/**
files:
- package.json
- node_modules/**
- apps/electron/main.mjs
- apps/electron/preload.cjs
- apps/electron/assets/**
- dist/apps/web/**
- scripts/truegrowth-local-api.mjs
- scripts/business-workflow-utility-worker.mjs
- vendor/aigcpanel/data/**
- vendor/Agent-Reach/**
- vendor/social-auto-upload/**
extraMetadata:
main: apps/electron/main.mjs
mac:
target:
- dmg
- target: zip
category: public.app-category.productivity
icon: apps/electron/build/icon.png
type: distribution
entitlements: apps/electron/build/entitlements.mac.plist
entitlementsInherit: apps/electron/build/entitlements.mac.inherit.plist
hardenedRuntime: true
gatekeeperAssess: false
strictVerify: true
notarize: true
extendInfo:
NSMicrophoneUsageDescription: TrueGrowth 需要使用麦克风录制音频素材。
NSCameraUsageDescription: TrueGrowth 需要使用摄像头录制视频素材。
artifactName: ${productName}-${version}-${arch}-mac.${ext}
dmg:
artifactName: ${productName}-${version}-${arch}.${ext}
win:
target:
- target: nsis
arch:
- x64
- target: portable
arch:
- x64
icon: apps/electron/build/icon.png
artifactName: ${productName}-${version}-${arch}-Setup.${ext}
portable:
artifactName: ${productName}-${version}-${arch}-Portable.${ext}
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: true
createStartMenuShortcut: true
shortcutName: TrueGrowth
publish:
provider: generic
url: https://truegrowth.benchu.cloud/desktop/stable/
channel: latest