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 build

Louis Beaumont95b7569d11b6
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index ff694de81..25debd8aa 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -134,9 +134,9 @@ jobs:
iwr -useb get.scoop.sh | iex
}
- - name: Setup tmate session # HACK
- if: matrix.platform == 'windows-latest'
- uses: mxschmitt/action-tmate@v3
+ # - name: Setup tmate session # HACK
+ # if: matrix.platform == 'windows-latest'
+ # uses: mxschmitt/action-tmate@v3
- name: Run pre_build.js
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 08796b93c..74f2c36fd 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -158,6 +158,19 @@ This is @louis030195 whole `.vscode/settings.json` file:
## Other hacks
+### Debugging Github Action
+
+ssh into the runner:
+
+```yaml
+- name: Setup tmate session # HACK
+ if: matrix.platform == 'windows-latest'
+ uses: mxschmitt/action-tmate@v3
+```
+
+run locally: https://github.com/nektos/act
+
+
### Debugging memory errors
```bash
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index acc868ede..225b37e55 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -104,12 +104,6 @@ async function installDeno() {
try {
await $`choco upgrade deno -y`;
console.log('deno installed/upgraded successfully using chocolatey.');
-
- // ls some potential installation dirs and console log for debugging purpose
- await $`ls C:\\ProgramData\\chocolatey\\lib\\deno\\tools`;
- await $`ls C:\\Users\\runneradmin\\AppData\\Local\\deno`;
- await $`ls C:\\Users\\runneradmin\\AppData\\Local\\deno\\bin`;
- await $`ls C:\\ProgramData\\chocolatey\\bin\\deno.exe`;
} catch (chocoError) {
console.error('failed to install/upgrade deno using chocolatey:', chocoError);
console.error('please install deno manually.');
@@ -129,7 +123,7 @@ async function copyDenoBinary() {
let denoSrc, denoDest1, denoDest2;
if (platform === 'windows') {
// Check both potential installation locations
- const chocoPath = 'C:\\ProgramData\\chocolatey\\bin\\deno.exe';
+ const chocoPath = 'C:\\ProgramData\\chocolatey\\lib\\deno\\tools';
if (await fs.exists(chocoPath)) {
denoSrc = chocoPath;
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 9585aaad5..f65df7222 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.3.4"
+version = "0.3.5"
description = ""
authors = ["you"]
license = ""