mirror of
https://github.com/readest/readest.git
synced 2026-04-29 20:10:55 +00:00
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
|
"productName": "Readest",
|
|
"version": "0.3.1",
|
|
"identifier": "com.bilingify.digest",
|
|
"build": {
|
|
"frontendDist": "../out",
|
|
"devUrl": "http://localhost:3000",
|
|
"beforeDevCommand": "pnpm dev",
|
|
"beforeBuildCommand": "pnpm build"
|
|
},
|
|
"app": {
|
|
"macOSPrivateApi": true,
|
|
"windows": [
|
|
{
|
|
"title": "Readest",
|
|
"width": 800,
|
|
"height": 600,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"maximized": true,
|
|
"decorations": false,
|
|
"transparent": true,
|
|
"shadow": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": {
|
|
"default-src": "'self' 'unsafe-inline' blob: customprotocol: asset: http://asset.localhost ipc: http://ipc.localhost",
|
|
"img-src": "'self' blob: data: asset: http://asset.localhost",
|
|
"style-src": "'self' 'unsafe-inline' blob: asset: http://asset.localhost",
|
|
"frame-src": "'self' blob: asset: http://asset.localhost"
|
|
},
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": {
|
|
"allow": ["$RESOURCE/**", "$DOCUMENT/**/*", "$APPDATA/**/*", "$TEMP/**/*"],
|
|
"deny": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": []
|
|
},
|
|
"plugins": {
|
|
"fs": {
|
|
"requireLiteralLeadingDot": false
|
|
}
|
|
}
|
|
}
|