50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "NqiTools",
|
|
"version": "0.1.0",
|
|
"identifier": "com.nqitools.app",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "NqiTools",
|
|
"width": 1180,
|
|
"height": 780,
|
|
"minWidth": 980,
|
|
"minHeight": 640
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; connect-src 'self' ipc: http://ipc.localhost http://127.0.0.1:*; img-src 'self' data:; style-src 'self' 'unsafe-inline'"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["nsis"],
|
|
"publisher": "NqiTools",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"windows": {
|
|
"webviewInstallMode": {
|
|
"type": "skip"
|
|
},
|
|
"nsis": {
|
|
"installMode": "currentUser",
|
|
"languages": ["SimpChinese"],
|
|
"displayLanguageSelector": false,
|
|
"installerHooks": "nsis/webview2-check.nsh"
|
|
}
|
|
}
|
|
}
|
|
}
|