gitbutler/src-tauri/tauri.conf.json
2023-07-07 16:33:33 +02:00

66 lines
1.8 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,
"fs": {
"all": false,
"readFile": true,
"scope": ["$APPCACHE/archives/*", "$RESOURCE/_up_/scripts/*"]
},
"shell": {
"all": false,
"open": "^((https://)|(mailto:)|(vscode://)).+"
},
"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": ["app", "dmg", "updater"],
"resources": [
"../scripts/branch_testdata.json"
]
},
"systemTray": {
"iconPath": "icons/tray.png",
"iconAsTemplate": true
}
}
}