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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: windows build
Louis Beaumontfd386fb24263
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 72e4f4710..b24bacd9f 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -234,11 +234,11 @@ jobs:- name: Build CLIshell: bash- # TODO: too slow- # env:- # CARGO_PROFILE_RELEASE_LTO: "true"- # CARGO_PROFILE_RELEASE_OPT_LEVEL: "z"- # CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "1"+ env:+ # Windows specific optimizations (only applied when building for Windows)+ CARGO_PROFILE_RELEASE_STRIP: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && 'symbols' || '' }}+ CARGO_PROFILE_RELEASE_PANIC: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && 'abort' || '' }}+ CARGO_PROFILE_RELEASE_INCREMENTAL: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && 'false' || 'true' }}run: |if [[ "${{ matrix.platform }}" == "macos-latest" ]]; thenexport PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"@@ -273,16 +273,36 @@ jobs:- name: Free Disk Space (Windows)if: matrix.args == '--target x86_64-pc-windows-msvc'run: |- # Remove unnecessary Windows components- Get-ChildItem -Path "C:\Windows\SoftwareDistribution\Download\" -Force | Remove-Item -Force -Recurse+ # Remove Windows defender+ powershell -Command "Set-MpPreference -DisableRealtimeMonitoring $true"++ # Aggressive cleanup+ Remove-Item -Path "C:\Windows\SoftwareDistribution\Download\*" -Force -RecurseRemove-Item -Path "C:\Windows\Temp\*" -Force -Recurse- # Clean npm cache+ Remove-Item -Path "C:\Windows\Prefetch\*" -Force -Recurse+ Remove-Item -Path "C:\Users\*\AppData\Local\Temp\*" -Force -Recurse++ # Clean development tools cachesnpm cache clean --force- # Clean cargo cachecargo cache --autoclean- # Remove unused Windows features+ Remove-Item -Path "$env:USERPROFILE\.cargo\registry\cache\*" -Force -Recurse++ # Clean Windows componentsdism.exe /online /cleanup-image /startcomponentcleanup /resetbase+ # Display available space+ Get-PSDrive C | Select-Object Used,Free++ # Optional: Disable Windows Search and Superfetch+ Stop-Service -Name "Windows Search" -Force+ Stop-Service -Name "SysMain" -Force++ - name: Clean NSIS temp files+ if: matrix.args == '--target x86_64-pc-windows-msvc'+ run: |+ Remove-Item -Path "$env:TEMP\*.tmp" -Force -Recurse+ Remove-Item -Path "$env:TEMP\nsis*" -Force -Recurse+- name: Builduses: tauri-apps/tauri-action@v0env:diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex d0dcc018a..f9e642e40 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "0.9.14"+version = "0.9.15"description = ""authors = ["you"]license = ""