From 8c0137efeb5ea8be8981e7878802b8971d614d45 Mon Sep 17 00:00:00 2001 From: Louis Beaumont Date: Wed, 31 Jul 2024 09:10:10 +0200 Subject: [PATCH] fix the damn windows build --- examples/apps/screenpipe-app-tauri/scripts/pre_build.js | 2 +- .../screenpipe-app-tauri/src-tauri/tauri.windows.conf.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/apps/screenpipe-app-tauri/scripts/pre_build.js b/examples/apps/screenpipe-app-tauri/scripts/pre_build.js index 75448f9e..4b78f8e8 100644 --- a/examples/apps/screenpipe-app-tauri/scripts/pre_build.js +++ b/examples/apps/screenpipe-app-tauri/scripts/pre_build.js @@ -119,7 +119,7 @@ if (platform == 'windows') { let copied = false; for (const screenpipeSrc of potentialPaths) { - const screenpipeDest = path.join(cwd, 'screenpipe-x86_64-pc-windows-gnu.exe'); + const screenpipeDest = path.join(cwd, 'screenpipe-x86_64-pc-windows-msvc.exe'); try { await fs.copyFile(screenpipeSrc, screenpipeDest); console.log(`Screenpipe binary copied successfully from ${screenpipeSrc}`); 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 1efdcca9..12e12ad8 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,8 +5,7 @@ ], "resources": { "ffmpeg\\bin\\x64\\*": "./", - "ffmpeg\\lib\\*": "./", - "screenpipe-x86_64-pc-windows-gnu.exe": "./" + "ffmpeg\\lib\\*": "./" } } } \ No newline at end of file