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: download IntuneWinAppUtil from official GitHub repo
Louis Beaumont045465c1087e
diff --git a/apps/screenpipe-app-tauri/scripts/exe-to-intunewin.ps1 b/apps/screenpipe-app-tauri/scripts/exe-to-intunewin.ps1index 771d71981..da3356c59 100644--- a/apps/screenpipe-app-tauri/scripts/exe-to-intunewin.ps1+++ b/apps/screenpipe-app-tauri/scripts/exe-to-intunewin.ps1@@ -50,12 +50,14 @@ Copy-Item $SetupExe -Destination (Join-Path $packageDir $setupName) -ForceWrite-Host "Package folder: $packageDir (single file: $setupName)"# Download IntuneWinAppUtil if needed-$utilZip = Join-Path $env:TEMP "IntuneWinAppUtil.zip"$utilExe = Get-ChildItem (Join-Path $toolDir "*.exe") -Recurse -ErrorAction SilentlyContinue | Where-Object { $_.Name -eq "IntuneWinAppUtil.exe" } | Select-Object -First 1if (-not $utilExe) {Write-Host "Downloading Microsoft Win32 Content Prep Tool..."New-Item -ItemType Directory -Force -Path $toolDir | Out-Null- Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/?linkid=2065730" -OutFile $utilZip -UseBasicParsing+ # Download from official Microsoft GitHub repo (the go.microsoft.com redirect can return non-zip content in CI)+ $zipUrl = "https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool/archive/refs/heads/master.zip"+ $utilZip = Join-Path $env:TEMP "IntuneWinAppUtil.zip"+ Invoke-WebRequest -Uri $zipUrl -OutFile $utilZip -UseBasicParsingExpand-Archive -Path $utilZip -DestinationPath $toolDir -Force$utilExe = Get-ChildItem (Join-Path $toolDir "*.exe") -Recurse -ErrorAction SilentlyContinue | Where-Object { $_.Name -eq "IntuneWinAppUtil.exe" } | Select-Object -First 1if (-not $utilExe) { Write-Error "IntuneWinAppUtil.exe not found after extract in $toolDir" }