gitbutler/packages/tauri/tauri.conf.json

62 lines
1.7 KiB
JSON

{
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build:development",
"devPath": "http://localhost:1420",
"distDir": "../ui/build",
"withGlobalTauri": false
},
"package": {
"productName": "GitButler Dev"
},
"tauri": {
"allowlist": {
"fs": {
"readFile": true,
"scope": ["$APPCACHE/archives/*", "$RESOURCE/_up_/scripts/*"]
},
"shell": {
"open": "^((https://)|(http://)|(mailto:)|(vscode://)).+"
},
"dialog": {
"open": true
},
"protocol": {
"asset": true,
"assetScope": [
"$APPCACHE/images/*"
]
},
"process": {
"relaunch": true
},
"window": {
"startDragging": true,
"maximize" :true,
"unmaximize" :true
},
"path": {
"all": true
}
},
"bundle": {
"active": true,
"identifier": "com.gitbutler.app.dev",
"category": "DeveloperTool",
"copyright": "Copyright © 2023 GitButler. All rights reserved.",
"icon": [
"icons/dev/32x32.png",
"icons/dev/128x128.png",
"icons/dev/128x128@2x.png",
"icons/dev/icon.icns",
"icons/dev/icon.ico"
],
"targets": ["app", "dmg", "appimage", "deb", "updater"]
},
"systemTray": {
"iconPath": "icons/tray.png",
"iconAsTemplate": true
}
}
}