mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 06:04:22 +08:00
7a59572f11
- 新增 OAuth 登录组件和回调页面 - 集成 Tauri 深度链接插件处理 OAuth 回调 - 添加账户设置页面显示登录信息 - 更新 CI 配置添加 OAuth 环境变量 - 扩展 API 接口支持 OAuth 相关操作 - 添加国际化支持
72 lines
1.4 KiB
JSON
72 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "SecScore",
|
|
"version": "1.0.0",
|
|
"identifier": "com.secscore.app",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"macOSPrivateApi": true,
|
|
"windows": [
|
|
{
|
|
"title": "SecScore",
|
|
"width": 1180,
|
|
"height": 680,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"decorations": false,
|
|
"transparent": false,
|
|
"center": true,
|
|
"minWidth": 360,
|
|
"minHeight": 640
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null,
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": ["**"]
|
|
}
|
|
},
|
|
"trayIcon": {
|
|
"iconPath": "icons/icon.png",
|
|
"iconAsTemplate": true,
|
|
"menuOnLeftClick": false
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": ["icons/icon.png", "icons/icon.ico"],
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": ""
|
|
},
|
|
"iOS": {
|
|
"minimumSystemVersion": "13.0"
|
|
},
|
|
"android": {
|
|
"minSdkVersion": 24
|
|
}
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": true
|
|
},
|
|
"deepLink": {
|
|
"domains": [
|
|
{
|
|
"host": "oauth",
|
|
"schemes": ["secscore"]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|