mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-27 11:36:48 +03:00
67 lines
1.9 KiB
JSON
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
|
|
}
|
|
}
|
|
}
|