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

fix: windows nsis error (#1033)

Dhanus91636afb4bf7
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 6929b7367..012d412b2 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -140,20 +140,6 @@ jobs:
throw "Failed to enable git long paths"
}
- - name: Install NSIS
- if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
- shell: powershell
- run: |
- $nsisUrl = "https://sourceforge.net/projects/nsis/files/NSIS%203/3.10/nsis-3.10-setup.exe/download"
- $installerPath = "$env:TEMP\nsis-installer.exe"
- Invoke-Expression "curl.exe -L -o `"$installerPath`" `"$nsisUrl`""
- Start-Process -FilePath $installerPath -ArgumentList "/S" -Wait
- Remove-Item $installerPath -Force
- # Add NSIS to PATH
- echo "C:\Program Files (x86)\NSIS" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- # Verify NSIS installation
- & "C:\Program Files (x86)\NSIS\makensis.exe" -VERSION
-
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_hash || github.ref }}
diff --git a/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json b/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
index f12d49936..63b9e56d8 100644
--- a/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
+++ b/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
@@ -5,6 +5,9 @@
"bun",
"ollama"
],
+ "targets": [
+ "nsis"
+ ],
"resources": {
"ffmpeg\\bin\\ffmpeg.exe": "./",
"ffmpeg\\bin\\ffprobe.exe": "./",