mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-03 06:42:27 +08:00
* chore: clean up root folder by moving config files - Move renovate.json to .github/renovate.json - Move electron-builder.yml to electron/electron-builder.yml - Move electron.d.ts to electron/electron.d.ts - Delete proxy.ts (unused dead code) - Update package.json dist scripts with --config flag - Use tsconfig.json files array for electron.d.ts (bypasses exclude) Reduces git-tracked root files from 23 to 19. * chore: regenerate package-lock.json to fix CI * fix: regenerate package-lock.json with cross-platform deps
97 lines
1.8 KiB
YAML
97 lines
1.8 KiB
YAML
appId: com.nextaidrawio.app
|
|
productName: Next AI Draw.io
|
|
copyright: Copyright © 2024 Next AI Draw.io
|
|
electronVersion: 39.2.7
|
|
|
|
directories:
|
|
output: release
|
|
buildResources: resources
|
|
|
|
afterPack: ./scripts/afterPack.cjs
|
|
|
|
files:
|
|
- dist-electron/**/*
|
|
- "!node_modules"
|
|
|
|
asarUnpack:
|
|
- "**/*.node"
|
|
|
|
extraResources:
|
|
# Copy prepared standalone directory (includes node_modules)
|
|
- from: electron-standalone/
|
|
to: standalone/
|
|
# Copy icon for runtime use (Windows/Linux)
|
|
- from: resources/icon.png
|
|
to: icon.png
|
|
|
|
# macOS configuration
|
|
mac:
|
|
category: public.app-category.productivity
|
|
icon: resources/icon.png
|
|
target:
|
|
- target: dmg
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
- target: zip
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
hardenedRuntime: true
|
|
gatekeeperAssess: false
|
|
entitlements: resources/entitlements.mac.plist
|
|
entitlementsInherit: resources/entitlements.mac.plist
|
|
|
|
dmg:
|
|
contents:
|
|
- x: 130
|
|
y: 220
|
|
- x: 410
|
|
y: 220
|
|
type: link
|
|
path: /Applications
|
|
window:
|
|
width: 540
|
|
height: 380
|
|
|
|
# Windows configuration
|
|
win:
|
|
icon: resources/icon.png
|
|
target:
|
|
- target: nsis
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
- target: portable
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
|
|
nsis:
|
|
oneClick: false
|
|
perMachine: false
|
|
allowToChangeInstallationDirectory: true
|
|
deleteAppDataOnUninstall: false
|
|
createDesktopShortcut: true
|
|
createStartMenuShortcut: true
|
|
|
|
# Linux configuration
|
|
linux:
|
|
icon: resources/icon.png
|
|
category: Office
|
|
maintainer: Next AI Draw.io <nextaidrawio@users.noreply.github.com>
|
|
target:
|
|
- target: AppImage
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
- target: deb
|
|
arch:
|
|
- x64
|
|
- arm64
|
|
|
|
# Publish configuration (optional)
|
|
publish:
|
|
provider: github
|
|
releaseType: release
|