gitbutler/src-tauri/tauri.conf.json
2023-03-01 12:04:29 +01:00

67 lines
1.9 KiB
JSON

{
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devPath": "http://localhost:1420",
"distDir": "../build",
"withGlobalTauri": false
},
"package": {
"productName": "GitButler Dev"
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true
},
"dialog": {
"all": false,
"open": true
},
"protocol": {
"all": false,
"asset": true,
"assetScope": [
"$APPCACHE/images/*"
]
},
"window": {
"all": false,
"startDragging": true
},
"path": {
"all": true
}
},
"bundle": {
"active": true,
"identifier": "com.gitbutler.app.dev",
"category": "DeveloperTool",
"copyright": "Copyright © 2023 GitButler. All rights reserved.",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"targets": ["dmg", "updater"]
},
"security": {
"csp": {
"default-src": "'self'",
"img-src": "'self' asset: https://asset.localhost",
"connect-src": "'self' https://eu.posthog.com https://app.gitbutler.com",
"script-src": "'self' https://eu.posthog.com",
"style-src": "'self' 'unsafe-inline'"
}
},
"systemTray": {
"iconPath": "icons/tray.png",
"iconAsTemplate": true
}
}
}