This commit is contained in:
root 2025-07-11 17:47:40 +08:00
parent 067b3764d2
commit 3f519fbc72
1 changed files with 11 additions and 2 deletions

View File

@ -28,8 +28,17 @@
"csp": "default-src 'self'; img-src 'self' asset: data: http://asset.localhost; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src 'self' ipc: http://ipc.localhost", "csp": "default-src 'self'; img-src 'self' asset: data: http://asset.localhost; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src 'self' ipc: http://ipc.localhost",
"assetProtocol": { "assetProtocol": {
"enable": true, "enable": true,
"scope": ["$HOME/**", "$DESKTOP/**", "$DOCUMENT/**"] "scope": [
} "$HOME/**",
"$DESKTOP/**",
"$DOCUMENT/**",
"$DOWNLOAD/**",
"C:\\**",
"/Users/**",
"/home/**"
]
},
"freezePrototype": true
} }
}, },
"bundle": { "bundle": {