Get rid of private API on macos

This commit is contained in:
chrox 2024-11-11 02:23:06 +01:00
parent a059396008
commit 4e7dd9051b
No known key found for this signature in database
GPG key ID: 07EA917B97209AE3
12 changed files with 558 additions and 61 deletions

View file

@ -10,20 +10,7 @@
"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
}
],
"windows": [],
"security": {
"csp": {
"default-src": "'self' 'unsafe-inline' blob: customprotocol: asset: http://asset.localhost ipc: http://ipc.localhost https://*.sentry.io https://*.posthog.com https://fonts.gstatic.com",