From 7cd648fca56c3b3c4a055d895a9aeb16014fec5d Mon Sep 17 00:00:00 2001 From: Nik Rozman Date: Sun, 1 Jun 2025 22:28:07 +0200 Subject: [PATCH] Fix Windows msi build --- electron-builder.ts | 2 +- hak/matrix-seshat/build.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/electron-builder.ts b/electron-builder.ts index 6e48290..58320a1 100644 --- a/electron-builder.ts +++ b/electron-builder.ts @@ -144,7 +144,7 @@ const config: Omit, "electronFuses"> & { signtoolOptions: { signingHashAlgorithms: ["sha256"], }, - icon: "build/icons/icon.ico", + icon: "build/icon.ico", }, msi: { perMachine: true, diff --git a/hak/matrix-seshat/build.ts b/hak/matrix-seshat/build.ts index b4e46f1..ba8784b 100644 --- a/hak/matrix-seshat/build.ts +++ b/hak/matrix-seshat/build.ts @@ -23,7 +23,8 @@ export default async function (hakEnv: HakEnv, moduleInfo: DependencyInfo): Prom shell: true, }); - const buildTarget = hakEnv.wantsStaticSqlCipher() ? "build-bundled" : "build"; + //const buildTarget = hakEnv.wantsStaticSqlCipher() ? "build-bundled" : "build"; // no build-bundled defined? + const buildTarget = hakEnv.wantsStaticSqlCipher() ? "build" : "build"; console.log("Running yarn build"); await hakEnv.spawn("yarn", ["run", buildTarget], {