appId: com.znkj.znai productName: NIANXX copyright: Copyright © 2026 智念科技 compression: maximum artifactName: ${productName}-${version}-${os}-${arch}.${ext} directories: output: release buildResources: resources files: - dist - dist-electron - package.json extraResources: - from: resources/skills/ to: resources/skills/ filter: - "**/*" - from: resources/icons/ to: icons/ filter: - "**/*" - from: build/preinstalled-skills/ to: resources/preinstalled-skills/ - from: build/openclaw/ to: openclaw/ - 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 # publish: # - provider: s3 # bucket: one-feel-bucket # region: oss-cn-guangzhou # endpoint: https://oss-cn-guangzhou.aliyuncs.com # path: setupPackage # acl: public-read # macOS Configuration mac: extraResources: - from: resources/cli/posix/ to: cli/ category: public.app-category.productivity icon: resources/icons/icon.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: resources/icons/icon.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 signAndEditExecutable: false extraResources: - from: resources/cli/win32/ to: cli/ icon: resources/icons/icon.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 include: scripts/installer.nsh installerIcon: resources/icons/icon.ico uninstallerIcon: resources/icons/icon.ico # Linux Configuration linux: extraResources: - from: resources/cli/posix/ to: cli/ icon: resources/icons/ 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