106 lines
2.1 KiB
JSON
106 lines
2.1 KiB
JSON
{
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build",
|
|
"devPath": "http://localhost:1420",
|
|
"distDir": "../dist",
|
|
"withGlobalTauri": true
|
|
},
|
|
"package": {
|
|
"productName": "JsonToClass",
|
|
"version": "1.0.2"
|
|
},
|
|
"tauri": {
|
|
"macOSPrivateApi": true,
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": [
|
|
"app",
|
|
"dmg",
|
|
"nsis",
|
|
"msi",
|
|
"deb"
|
|
],
|
|
"windows": {
|
|
"webviewInstallMode": {
|
|
"type": "embedBootstrapper"
|
|
}
|
|
},
|
|
"deb": {},
|
|
"identifier": "com.bmy.json.to.class",
|
|
"publisher": "bmy",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/JsonToClass.icns",
|
|
"icons/JsonToClass.ico"
|
|
]
|
|
},
|
|
"security": {
|
|
"csp": null
|
|
},
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"hiddenTitle": true,
|
|
"fullscreen": false,
|
|
"resizable": true,
|
|
"center": true,
|
|
"width": 1200,
|
|
"height": 900,
|
|
"minWidth": 1000,
|
|
"minHeight": 800,
|
|
"titleBarStyle": "Overlay",
|
|
"visible": false,
|
|
"transparent": true,
|
|
"title": ""
|
|
},
|
|
{
|
|
"title": "JsonToClass - 为API接口数据自动生成 TypeScript 类型",
|
|
"width": 300,
|
|
"height": 400,
|
|
"center": true,
|
|
"titleBarStyle": "Overlay",
|
|
"resizable": false,
|
|
"hiddenTitle": true,
|
|
"url": "splashscreen.html",
|
|
"label": "splashscreen"
|
|
}
|
|
]
|
|
},
|
|
"plugins": {
|
|
"os": {
|
|
"all": true
|
|
},
|
|
"app": {
|
|
"all": true
|
|
},
|
|
"shell": {
|
|
"open": true
|
|
},
|
|
"fs": {
|
|
"createDir": true,
|
|
"exists": true,
|
|
"writeTextFile": true,
|
|
"readTextFile": true,
|
|
"scope": [
|
|
"$HOME/.jsontoclass/*",
|
|
"$HOME/.jsontoclass",
|
|
"$HOME/*"
|
|
]
|
|
},
|
|
"window": {
|
|
"all": false,
|
|
"close": true,
|
|
"hide": true,
|
|
"show": true,
|
|
"maximize": true,
|
|
"minimize": true,
|
|
"unmaximize": true,
|
|
"unminimize": true,
|
|
"startDragging": true
|
|
}
|
|
}
|
|
}
|