实现客户端的单点登录

This commit is contained in:
2025-12-23 20:57:07 +08:00
parent d50c049dfc
commit abe131fedc
9 changed files with 214 additions and 32 deletions

View File

@@ -1,10 +1,10 @@
{
"name": "dify-market-manager-gui",
"name": "SZGAS_AIAgent",
"version": "1.0.0",
"description": "百千万AI智能体共创平台",
"description": "深圳燃气 AI智能体",
"main": "./out/main/index.js",
"author": "huashiai.com",
"homepage": "https://huashiai.com",
"author": "szgas.com",
"homepage": "https://szgas.com",
"scripts": {
"format": "prettier --write .",
"lint": "eslint --cache .",
@@ -37,6 +37,24 @@
"build:icon": "./node_modules/.bin/electron-icon-builder --input=./build/icon.png --output=./build/",
"make": "electron-forge make"
},
"build": {
"protocols": [{
"name": "aiAgent Protocol",
"schemes": ["aiAgent"]
}],
"win": {
"target": "nsis",
"signingHashAlgorithms": ["sha256"]
},
"mac": {
"extendInfo": {
"CFBundleURLTypes": [{
"CFBundleURLName": "MyApp Protocol",
"CFBundleURLSchemes": ["myapp"]
}]
}
}
},
"permissions": [
"audioCapture",
"videoCapture"
@@ -51,6 +69,7 @@
"electron-log": "^5.4.0",
"electron-store": "^8.0.0",
"electron-updater": "^6.3.9",
"jquery": "^3.7.1",
"ws": "^8.18.2",
"xe-utils": "^3.7.4"
},