首次提交

This commit is contained in:
2026-07-21 09:01:46 +08:00
parent c75555a40d
commit 5cff49f2b2
16 changed files with 6752 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
{
"name": "fengai",
"version": "1.0.0",
"description": "FengAI - a simple OpenAI-compatible LLM chat desktop app",
"main": "src/main/main.js",
"author": "FengAI",
"license": "MIT",
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"icon": "node scripts/make-icon.js",
"pack": "electron-builder --dir",
"build": "electron-builder --win"
},
"devDependencies": {
"electron": "^31.7.0",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "com.fengai.chat",
"productName": "FengAI",
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"src/**/*",
"package.json",
"!**/*.map"
],
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "FengAI-Setup-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "FengAI"
}
},
"dependencies": {
"dompurify": "^3.4.12",
"marked": "^18.0.6"
}
}