稳定测试版
This commit is contained in:
97
package.json
Normal file
97
package.json
Normal file
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"name": "YOLO-ios-ai",
|
||||
"productName": "YOLO(AI助手ios)",
|
||||
"version": "2.5.3",
|
||||
"description": "Vue3 + WS 控制台",
|
||||
"author": "yourname",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"serve": "chcp 65001 && npx electron . --js-flags=--expose-gc",
|
||||
"pack": "electron-builder",
|
||||
"build:vue": "cd vue-app && npm install && npm run build",
|
||||
"start": "npm run build:vue && npx electron . --js-flags=--expose-gc",
|
||||
"build:ci": "electron-builder --publish always"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "27.1.3",
|
||||
"electron-builder": "^26.0.12"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.yolozs.iosai",
|
||||
"productName": "YOLO(AI助手ios)",
|
||||
"icon": "icon.ico",
|
||||
"directories": {
|
||||
"output": "dist_electron"
|
||||
},
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "iOSAI",
|
||||
"to": "iOSAI"
|
||||
},
|
||||
{
|
||||
"from": "resources",
|
||||
"to": "updater",
|
||||
"filter": [
|
||||
"**/*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"extraFiles": [
|
||||
{
|
||||
"from": "./ADB",
|
||||
"to": ".",
|
||||
"filter": [
|
||||
"**/*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "waiting.html",
|
||||
"to": "resources/app",
|
||||
"filter": [
|
||||
"waiting.html"
|
||||
]
|
||||
}
|
||||
],
|
||||
"asar": false,
|
||||
"files": [
|
||||
"main.js",
|
||||
"js/*",
|
||||
"vue-app/dist/**/*",
|
||||
"ws-scrcpy/**/*"
|
||||
],
|
||||
"publish": [
|
||||
{
|
||||
"provider": "generic",
|
||||
"url": "https://s3.tknb.net/iosAiUpdate/",
|
||||
"useMultipleRangeRequest": false
|
||||
},
|
||||
{
|
||||
"provider": "s3",
|
||||
"bucket": "ai-update",
|
||||
"endpoint": "https://b632a61caa85401f63c9b32eef3a74c8.r2.cloudflarestorage.com",
|
||||
"region": "auto",
|
||||
"acl": "public-read",
|
||||
"path": "iosAiUpdate"
|
||||
}
|
||||
],
|
||||
"win": {
|
||||
"target": "nsis",
|
||||
"requestedExecutionLevel": "requireAdministrator"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"allowToChangeInstallationDirectory": true,
|
||||
"perMachine": true,
|
||||
"differentialPackage": true,
|
||||
"allowElevation": true
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"amqplib": "^0.10.9",
|
||||
"axios": "^1.11.0",
|
||||
"cors": "^2.8.5",
|
||||
"electron-log": "^5.4.1",
|
||||
"electron-updater": "^6.6.2",
|
||||
"express": "^5.1.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user