2023-07-12 17:06:10 +03:00
|
|
|
{
|
2024-01-29 19:08:13 +03:00
|
|
|
"build": {
|
2024-07-29 11:49:22 +03:00
|
|
|
"beforeBuildCommand": "[ $CI = true ] || pnpm build:desktop -- --mode nightly && cargo build --release -p gitbutler-git && bash ./gitbutler-tauri/inject-git-binaries.sh"
|
2024-01-29 19:08:13 +03:00
|
|
|
},
|
|
|
|
"package": {
|
|
|
|
"productName": "GitButler Nightly"
|
|
|
|
},
|
|
|
|
"tauri": {
|
|
|
|
"bundle": {
|
|
|
|
"identifier": "com.gitbutler.app.nightly",
|
|
|
|
"icon": [
|
|
|
|
"icons/32x32.png",
|
|
|
|
"icons/128x128.png",
|
|
|
|
"icons/128x128@2x.png",
|
|
|
|
"icons/icon.icns",
|
|
|
|
"icons/icon.ico"
|
2024-03-20 19:52:03 +03:00
|
|
|
],
|
2024-03-22 00:19:33 +03:00
|
|
|
"externalBin": [
|
|
|
|
"gitbutler-git-setsid",
|
|
|
|
"gitbutler-git-askpass"
|
|
|
|
],
|
|
|
|
"windows": {
|
|
|
|
"certificateThumbprint": null
|
2024-08-23 12:13:00 +03:00
|
|
|
},
|
|
|
|
"rpm": {
|
|
|
|
"depends": [
|
|
|
|
"webkit2gtk4.0-devel"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"deb": {
|
|
|
|
"depends": [
|
|
|
|
"libwebkit2gtk-4.0-dev",
|
|
|
|
"libgtk-3-dev"
|
|
|
|
]
|
2024-10-23 14:56:28 +03:00
|
|
|
},
|
|
|
|
"windows": {
|
|
|
|
"wix": {
|
|
|
|
"template": "templates/installer.wxs"
|
|
|
|
}
|
2024-03-22 00:19:33 +03:00
|
|
|
}
|
2024-01-29 19:08:13 +03:00
|
|
|
},
|
|
|
|
"security": {
|
|
|
|
"csp": {
|
|
|
|
"default-src": "'self'",
|
2024-08-22 15:26:19 +03:00
|
|
|
"img-src": "'self' asset: https://asset.localhost data: tauri://localhost https://avatars.githubusercontent.com https://*.gitbutler.com https://gitbutler-public.s3.amazonaws.com https://*.gravatar.com https://io.wp.com https://i0.wp.com https://i1.wp.com https://i2.wp.com https://i3.wp.com https://github.com https://*.googleusercontent.com",
|
2024-10-22 18:14:39 +03:00
|
|
|
"connect-src": "'self' https://eu.posthog.com https://eu.i.posthog.com https://app.gitbutler.com https://o4504644069687296.ingest.sentry.io ws://localhost:7703 https://github.com https://api.github.com https://api.openai.com https://api.anthropic.com/v1/messages",
|
2024-03-03 22:16:29 +03:00
|
|
|
"script-src": "'self' https://eu.posthog.com https://eu.i.posthog.com",
|
2024-01-29 19:08:13 +03:00
|
|
|
"style-src": "'self' 'unsafe-inline'"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"updater": {
|
|
|
|
"active": true,
|
2024-02-22 16:03:30 +03:00
|
|
|
"dialog": false,
|
2024-01-29 19:08:13 +03:00
|
|
|
"endpoints": [
|
|
|
|
"https://app.gitbutler.com/releases/nightly/{{target}}-{{arch}}/{{current_version}}"
|
|
|
|
],
|
|
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDYwNTc2RDhBM0U0MjM4RUIKUldUck9FSStpbTFYWUE5UkJ3eXhuekZOL2V2RnpKaFUxbGJRNzBMVmF5V0gzV1JvN3hRblJMRDIK"
|
|
|
|
}
|
|
|
|
}
|
2023-07-12 17:06:10 +03:00
|
|
|
}
|