-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.17 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "MeConf",
"version": "1.3.3",
"description": "MeConf by mbstudio.cn",
"ProductName": "MeConf 咪呼",
"license": "MIT",
"author": "meineson <[email protected]> (https://mbstudio.cn)",
"homepage": "https://mbstudio.cn",
"main": "main.js",
"copyright": "Copyright © 2025",
"icon": "favicon.ico",
"scripts": {
"webdev": "webpack --mode=development",
"start": "npm run webdev && electron . --remote-debugging-port=9222 --trace-warnings",
"webrel": "webpack --mode=production",
"web": "npm run webrel && mkdir -p ./dist && tar zcvf ./dist/MeConf_web.tgz index.html config.html mbphone.bundle.js miniweb.js mbweb.css favicon.ico img/*",
"mac": "npm run webrel && electron-builder -m dmg --x64 --arm64",
"win": "npm run webrel && electron-builder -w portable",
"lin": "npm run webrel && electron-builder -l deb",
"dist": "npm run web & electron-builder -m dmg & electron-builder -w nsis & electron-builder -l deb"
},
"devDependencies": {
"electron": "^37.2.1",
"electron-builder": "^26.0.12",
"terser-webpack-plugin": "^5.3.14",
"webpack": "^5.100.2",
"webpack-cli": "^6.0.1"
},
"postinstall": "electron-builder install-app-deps",
"build": {
"appId": "cn.mbstudio.meconf",
"files": [
"!**/src-tauri"
],
"mac": {
"icon": "build/icon.icns",
"category": "public.app-category.utilities",
"extendInfo": {
"hardenedRuntime": true,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"NSMicrophoneUsageDescription": "需要麦克风进行语音通话。",
"NSCameraUseContinuityCameraDeviceType": "需要摄像头进行视频通话。",
"NSCameraUsageDescription": "需要摄像头进行视频通话。",
"NSScreenCaptureUsageDescription": "需要录制权限进行桌面分享。",
"com.apple.security.device.audio-input": true,
"com.apple.security.device.camera": true
}
},
"win": {
"icon": "build/icon.png",
"executableName": "MeConf",
"artifactName": "${name}-${version}-${arch}.${ext}"
},
"linux": {
"icon": "build/icon.png"
}
}
}