Fix Windows msi build
Some checks failed
Build and Test / fetch (push) Failing after 23s
Static Analysis / i18n Check (push) Failing after 1s
Build and Test / Windows (arm64) (push) Has been skipped
Build and Test / Windows (ia32) (push) Has been skipped
Build and Test / Windows (x64) (push) Has been skipped
Build and Test / Linux (amd64) (sqlcipher: static) (push) Has been skipped
Build and Test / Linux (amd64) (sqlcipher: system) (push) Has been skipped
Build and Test / Linux (arm64) (sqlcipher: static) (push) Has been skipped
Build and Test / Linux (arm64) (sqlcipher: system) (push) Has been skipped
Build and Test / macOS (push) Has been skipped
Build and Test / tests-done (push) Has been cancelled
Static Analysis / Typescript Syntax Check (push) Has been cancelled
Static Analysis / ESLint (push) Has been cancelled
Static Analysis / Workflow Lint (push) Has been cancelled
Static Analysis / Analyse Dead Code (push) Has been cancelled
Close stale PRs / close (push) Has been cancelled
Build and Deploy / prepare (push) Failing after 19s
Build and Deploy / ${{ needs.prepare.outputs.deploy == 'true' && 'Deploy' || 'Deploy (dry-run)' }} (push) Blocked by required conditions
Build and Deploy / Deploy builds to ESS (push) Blocked by required conditions
Build and Deploy / Windows arm64 (push) Has been skipped
Build and Deploy / Windows x64 (push) Has been skipped
Build and Deploy / macOS (push) Has been skipped
Build and Deploy / Linux amd64 (sqlcipher static) (push) Has been skipped
Build and Deploy / Linux arm64 (sqlcipher static) (push) Has been skipped

This commit is contained in:
2025-06-01 22:28:07 +02:00
parent d325f05c9b
commit 7cd648fca5
2 changed files with 3 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ const config: Omit<Writable<Configuration>, "electronFuses"> & {
signtoolOptions: {
signingHashAlgorithms: ["sha256"],
},
icon: "build/icons/icon.ico",
icon: "build/icon.ico",
},
msi: {
perMachine: true,

View File

@@ -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], {