appId: com.znkj.znai productName: NIANXX copyright: Copyright © 2026 智念科技 compression: maximum artifactName: ${productName}-${version}-${os}-${arch}.${ext} directories: output: release buildResources: public files: - dist - dist-electron - package.json extraResources: - from: public/ to: public/ filter: - "**/*" - from: electron/scripts/ to: scripts/ filter: - "**/*" asar: true asarUnpack: - "**/*.node" # Disable native module rebuilding. # Native modules belong to dependencies that run in their own process npmRebuild: false afterPack: ./scripts/after-pack.cjs # Auto-update configuration (to be configured later) # publish: # - provider: generic # url: https://your-update-server.com/latest # useMultipleRangeRequest: false # macOS Configuration mac: category: public.app-category.productivity icon: public/logo.icns target: - target: dmg arch: - x64 - arm64 - target: zip arch: - x64 - arm64 darkModeSupport: true hardenedRuntime: true gatekeeperAssess: false entitlements: entitlements.mac.plist entitlementsInherit: entitlements.mac.plist notarize: false # Set to true when you have Apple Developer account dmg: size: 1g icon: public/logo.icns iconSize: 100 window: width: 540 height: 380 contents: - type: file x: 130 y: 220 - type: link path: /Applications x: 410 y: 220 # Windows Configuration win: verifyUpdateCodeSignature: false # icon: public/logo.ico target: - target: nsis arch: x64 nsis: oneClick: false perMachine: false warningsAsErrors: false allowToChangeInstallationDirectory: true deleteAppDataOnUninstall: false differentialPackage: true createDesktopShortcut: true createStartMenuShortcut: true shortcutName: NIANXX uninstallDisplayName: NIANXX license: LICENSE # installerIcon: public/logo.ico # uninstallerIcon: public/logo.ico # Linux Configuration linux: icon: public/ target: - target: AppImage arch: - x64 - target: deb arch: - x64 category: Utility maintainer: 智念科技 vendor: 智念科技 synopsis: 智念AI - 一款应用智能的多功能桌面应用 description: 智念AI是一款基于Electron的智能桌面应用,提供AI助手、任务管理、数据分析等多种功能。 desktop: entry: Name: NIANXX Comment: 智念AI - 智能桌面应用 Categories: Utility;Network; Keywords: ai;assistant;automation;chat; StartupWMClass: zn-ai