chore: restructure project and add i18n support
- Reorganize project structure with new electron and shared directories - Add comprehensive i18n support with Chinese, English, and Japanese locales - Update build configurations and TypeScript paths for new structure - Add various UI components including chat interface and task management - Include Windows release binaries and localization files - Update dependencies and fix import paths throughout the codebase
This commit is contained in:
99
release/builder-effective-config.yaml
Normal file
99
release/builder-effective-config.yaml
Normal file
@@ -0,0 +1,99 @@
|
||||
directories:
|
||||
output: release
|
||||
buildResources: public
|
||||
appId: com.znkj.znai
|
||||
productName: NIANXX
|
||||
copyright: Copyright © 2026 智念科技
|
||||
compression: maximum
|
||||
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
|
||||
files:
|
||||
- filter:
|
||||
- dist
|
||||
- dist-electron
|
||||
- package.json
|
||||
extraResources:
|
||||
- from: public/
|
||||
to: public/
|
||||
filter:
|
||||
- '**/*'
|
||||
- from: src/main/scripts/
|
||||
to: scripts/
|
||||
filter:
|
||||
- '**/*'
|
||||
asar: true
|
||||
asarUnpack:
|
||||
- '**/*.node'
|
||||
npmRebuild: false
|
||||
afterPack: ./scripts/after-pack.cjs
|
||||
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
|
||||
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
|
||||
win:
|
||||
verifyUpdateCodeSignature: false
|
||||
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
|
||||
linux:
|
||||
icon: public/
|
||||
target:
|
||||
- target: AppImage
|
||||
arch:
|
||||
- x64
|
||||
- target: deb
|
||||
arch:
|
||||
- x64
|
||||
category: Utility
|
||||
maintainer: 智念科技 <duanshuwen@gogpay.cn>
|
||||
vendor: 智念科技
|
||||
synopsis: 智念AI - 一款应用智能的多功能桌面应用
|
||||
description: 智念AI是一款基于Electron的智能桌面应用,提供AI助手、任务管理、数据分析等多种功能。
|
||||
desktop:
|
||||
entry:
|
||||
Name: NIANXX
|
||||
Comment: 智念AI - 智能桌面应用
|
||||
Categories: Utility;Network;
|
||||
Keywords: ai;assistant;automation;chat;
|
||||
StartupWMClass: zn-ai
|
||||
electronVersion: 40.8.5
|
||||
Reference in New Issue
Block a user