Test basic building env

This commit is contained in:
chrox 2024-09-26 19:02:06 +02:00
parent 7a2e5d6e52
commit aa07a4de3b
No known key found for this signature in database
GPG key ID: 07EA917B97209AE3
12 changed files with 6642 additions and 197 deletions

View file

@ -10,6 +10,7 @@
"beforeBuildCommand": "pnpm build"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"title": "Readest",
@ -20,7 +21,14 @@
}
],
"security": {
"csp": null
"csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost",
"assetProtocol": {
"enable": true,
"scope": {
"allow": ["$RESOURCE/**", "$DOCUMENT/**/*"],
"deny": []
}
}
}
},
"bundle": {
@ -32,6 +40,12 @@
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
],
"resources": []
},
"plugins": {
"fs": {
"requireLiteralLeadingDot": false
}
}
}