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

release-app: fix build

Louis Beaumont52bab3bfae15
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index ede3db79f..696db2dc7 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -233,11 +233,7 @@ jobs:
working-directory: ./screenpipe-app-tauri
- name: Build CLI
- env:
- # Windows specific optimizations (only applied when building for Windows)
- CARGO_PROFILE_RELEASE_STRIP: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'symbols' || 'none' }}
- CARGO_PROFILE_RELEASE_PANIC: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'abort' || 'unwind' }}
- CARGO_PROFILE_RELEASE_INCREMENTAL: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'false' || 'true' }}
+ if: matrix.tauri-args != '--target x86_64-pc-windows-msvc'
run: |
if [[ "${{ matrix.platform }}" == "macos-latest" ]]; then
export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"
@@ -246,6 +242,14 @@ jobs:
fi
cargo build --release -p screenpipe-server ${{ matrix.args }}
+ - name: Build CLI on Windows
+ if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
+ env:
+ CARGO_PROFILE_RELEASE_STRIP: symbols
+ CARGO_PROFILE_RELEASE_PANIC: abort
+ CARGO_PROFILE_RELEASE_INCREMENTAL: false
+ run: cargo build --release -p screenpipe-server ${{ matrix.args }}
+
# Run pre build again to copy the CLI into app
- name: Run pre_build.js
run: |
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 7499247b4..12fa8934b 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4170,7 +4170,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "0.14.11"
+version = "0.14.14"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-app-tauri/src-tauri/src/commands.rs b/screenpipe-app-tauri/src-tauri/src/commands.rs
index b27678d03..1ef71a7be 100644
--- a/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -188,7 +188,7 @@ pub fn update_show_screenpipe_shortcut(
};
if !enabled {
- app_handle.global_shortcut().unregister(show_window_shortcut);
+ let _ = app_handle.global_shortcut().unregister(show_window_shortcut);
return Ok(());
}
diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rs
index 0e4d30bef..61246daed 100755
--- a/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -47,7 +47,6 @@ pub use commands::open_screen_capture_preferences;
pub use commands::reset_all_pipes;
pub use commands::set_tray_unhealth_icon;
pub use commands::set_tray_health_icon;
-pub use commands::reset_screen_permissions;
pub use server::spawn_server;
pub use sidecar::kill_all_sreenpipes;
pub use sidecar::spawn_screenpipe;