二期:打包IM

This commit is contained in:
朱浩 2024-08-19 14:18:39 +08:00
parent 0ff0cd42bc
commit 5f6839058a
1 changed files with 76 additions and 0 deletions

View File

@ -36,6 +36,7 @@
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"jsencrypt": "^3.3.2", "jsencrypt": "^3.3.2",
"jsondiffpatch": "0.6.0", "jsondiffpatch": "0.6.0",
"im_electron_sdk": "^8.0.5904",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"pdfjs-dist": "4.4.168", "pdfjs-dist": "4.4.168",
"pinia": "^2.1.7", "pinia": "^2.1.7",
@ -61,5 +62,80 @@
"vite-plugin-windicss": "^1.9.3", "vite-plugin-windicss": "^1.9.3",
"vue": "^3.4.30", "vue": "^3.4.30",
"windicss": "^3.5.6" "windicss": "^3.5.6"
},
"build": {
"files": [
"src/app",
"bundle",
"icon"
],
"appId": "aix-win",
"mac": {
"gatekeeperAssess": false,
"hardenedRuntime": true,
"entitlements": "./signing/entitlements.mac.plist",
"entitlementsInherit": "./signing/entitlements.mac.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "Please give us access to your microphone",
"NSCameraUsageDescription": "Allow your conversational partners to see you in a Grape Call. You can turn off your video anytime during a call."
},
"icon": "./icon/im_electron_logo.png",
"extraFiles": [
{
"from": "./node_modules/im_electron_sdk/lib/",
"to": "./Resources",
"filter": [
"**/*"
]
},
{
"from": "./icon/",
"to": "./Resources",
"filter": [
"**/*"
]
}
]
},
"win": {
"icon": "./resources/logo.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"extraFiles": [
{
"from": "./node_modules/im_electron_sdk/lib/",
"to": "./resources",
"filter": [
"**/*"
]
}
]
},
"linux": {
"target": "deb",
"extraFiles": [
{
"from": "./node_modules/im_electron_sdk/lib/",
"to": "./resources",
"filter": [
"**/*"
]
},
{
"from": "node_modules/trtc-electron-sdk/build/Release/",
"to": "./resources",
"filter": [
"**/*"
]
}
]
}
} }
} }