mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 22:20:51 +01:00
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "haex-hub",
|
|
"version": "0.1.0",
|
|
"identifier": "space.haex.hub",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"devUrl": "http://localhost:3000",
|
|
"beforeBuildCommand": "pnpm generate",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "haex-hub",
|
|
"width": 800,
|
|
"height": 600
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": {
|
|
"default-src": ["'self'", "http://tauri.localhost"],
|
|
"script-src": [
|
|
"'self'",
|
|
"http://tauri.localhost",
|
|
"'wasm-unsafe-eval'"
|
|
],
|
|
"style-src": ["'self'", "http://tauri.localhost", "'unsafe-inline'"],
|
|
"connect-src": [
|
|
"'self'",
|
|
"http://tauri.localhost",
|
|
"ipc:",
|
|
"http://ipc.localhost"
|
|
],
|
|
"img-src": ["'self'", "http://tauri.localhost", "data:", "blob:"],
|
|
"font-src": ["'self'", "http://tauri.localhost"],
|
|
"object-src": ["'none'"],
|
|
"media-src": ["'self'", "http://tauri.localhost"],
|
|
"frame-src": ["'none'"],
|
|
"frame-ancestors": ["'none'"]
|
|
},
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": ["$APPDATA", "$RESOURCE"]
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": ["database/vault.db"]
|
|
}
|
|
}
|