Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat(tauri): add prod configuration file (#1349)

olivere08c8e6283e3
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 7eb34ed81..8923b469c 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -136,15 +136,15 @@ jobs:
- platform: "macos-latest"
args: "--target aarch64-apple-darwin --features metal,beta"
target: aarch64-apple-darwin
- tauri-args: "--target aarch64-apple-darwin"
+ tauri-args: "--target aarch64-apple-darwin --config src-tauri/tauri.conf.prod.json"
- platform: "macos-latest"
args: "--target x86_64-apple-darwin --features metal,beta"
target: x86_64-apple-darwin
- tauri-args: "--target x86_64-apple-darwin"
+ tauri-args: "--target x86_64-apple-darwin --config src-tauri/tauri.conf.prod.json"
- platform: ${{ needs.check_runner.outputs.runner_type }}
args: "--target x86_64-pc-windows-msvc --features mkl"
pre-build-args: ""
- tauri-args: "--target x86_64-pc-windows-msvc"
+ tauri-args: "--target x86_64-pc-windows-msvc --config src-tauri/tauri.conf.prod.json"
runs-on: ${{ matrix.platform }}
steps:
diff --git a/screenpipe-app-tauri/src-tauri/tauri.conf.json b/screenpipe-app-tauri/src-tauri/tauri.conf.json
index 3ecb7226d..b414ec4cd 100644
--- a/screenpipe-app-tauri/src-tauri/tauri.conf.json
+++ b/screenpipe-app-tauri/src-tauri/tauri.conf.json
@@ -1,5 +1,8 @@
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
+ "productName": "screenpipe - development",
+ "identifier": "screenpi.pe.dev",
+ "mainBinaryName": "screenpipe - development",
"build": {
"beforeDevCommand": "bun run dev",
"beforeBuildCommand": "bun run build",
@@ -34,8 +37,6 @@
"assets/*"
]
},
- "productName": "screenpipe",
- "identifier": "screenpi.pe",
"plugins": {
"updater": {
"active": true,
diff --git a/screenpipe-app-tauri/src-tauri/tauri.conf.prod.json b/screenpipe-app-tauri/src-tauri/tauri.conf.prod.json
new file mode 100644
index 000000000..81c6f11a6
--- /dev/null
+++ b/screenpipe-app-tauri/src-tauri/tauri.conf.prod.json
@@ -0,0 +1,5 @@
+{
+ "productName": "screenpipe",
+ "mainBinaryName": "screenpipe",
+ "identifier": "screenpi.pe"
+}
\ No newline at end of file