Tauri API配置结构
2024-01-29 16:30 更新
该配置由以下对象组成:
package
:包设置tauri
:Tauri配置
build
:构建配置plugins
:插件配置
{
"build": {
"beforeBuildCommand": "",
"beforeDevCommand": "",
"devPath": "../dist",
"distDir": "../dist"
},
"package": {
"productName": "tauri-app",
"version": "0.1.0"
},
"tauri": {
"allowlist": {
"all": true
},
"bundle": {},
"security": {
"csp": null
},
"updater": {
"active": false
},
"windows": [
{
"fullscreen": false,
"height": 600,
"resizable": true,
"title": "Tauri App",
"width": 800
}
]
}
}
以上内容是否对您有帮助:
更多建议: