Files
Meeting_Assistant/client/package.json
egg 58f379bc0c feat: Add embedded backend packaging for all-in-one deployment
- Add backend/run_server.py entry point for embedded deployment
- Add backend/build.py PyInstaller script for backend packaging
- Modify config.py to support frozen executable paths
- Extend client/config.json with backend configuration section
- Add backend sidecar management in Electron main process
- Add Whisper model download progress reporting
- Update build-client.bat with --embedded-backend flag
- Update DEPLOYMENT.md with all-in-one deployment documentation

This enables packaging frontend and backend into a single executable
for simplified enterprise deployment. Backward compatible with
existing separate deployment mode (backend.embedded: false).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 10:06:29 +08:00

79 lines
1.6 KiB
JSON

{
"name": "meeting-assistant",
"version": "1.0.0",
"description": "Enterprise Meeting Knowledge Management",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder",
"pack": "electron-builder --dir"
},
"author": "Your Company",
"license": "MIT",
"devDependencies": {
"electron": "^28.0.0",
"electron-builder": "^24.9.1"
},
"dependencies": {
"axios": "^1.6.2"
},
"build": {
"appId": "com.company.meeting-assistant",
"productName": "Meeting Assistant",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"node_modules/**/*"
],
"extraResources": [
{
"from": "../sidecar/dist/transcriber",
"to": "sidecar/transcriber",
"filter": ["**/*"]
},
{
"from": "../backend/dist/backend",
"to": "backend/backend",
"filter": ["**/*"]
},
{
"from": "config.json",
"to": "config.json"
}
],
"win": {
"target": [
{
"target": "portable",
"arch": ["x64"]
}
],
"icon": "assets/icon.ico",
"signAndEditExecutable": false
},
"mac": {
"target": [
{
"target": "dmg",
"arch": ["x64", "arm64"]
}
],
"icon": "assets/icon.icns"
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": ["x64"]
}
],
"icon": "assets/icon.png"
},
"portable": {
"artifactName": "${productName}-${version}-portable.${ext}"
}
}
}