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: ci

Louis Beaumont1472e0415afd
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 927b275c9..4a3319abb 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -134,9 +134,22 @@ jobs:
# Run pre build
- name: Run pre_build.js on ${{ matrix.platform }}
shell: bash
- run: bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
+ run: |
+ bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
+ ls -R .
working-directory: ./examples/apps/screenpipe-app-tauri
+ - name: Verify Tesseract Installation
+ if: matrix.platform == 'windows-latest'
+ shell: pwsh
+ run: |
+ $env:PATH += ";${{ github.workspace }}\examples\apps\screenpipe-app-tauri\src-tauri\tesseract"
+ tesseract --version
+ if ($LASTEXITCODE -ne 0) {
+ Write-Error "Tesseract is not properly installed or not in PATH"
+ exit 1
+ }
+
- name: Build CLI
shell: bash
run: |
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
index 12e12ad8b..e45ce79f8 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
@@ -5,7 +5,8 @@
],
"resources": {
"ffmpeg\\bin\\x64\\*": "./",
- "ffmpeg\\lib\\*": "./"
+ "ffmpeg\\lib\\*": "./",
+ "tesseract\\*": "./"
}
}
}
\ No newline at end of file