desktop: always install both arm64 and x64 packages on all platforms

This commit is contained in:
Abdullah Atta
2024-11-19 12:10:52 +05:00
parent be7c1453fe
commit 25f74ff04d

View File

@@ -63,9 +63,10 @@ if (args.variant === "mas") {
await exec(`yarn run bundle`); await exec(`yarn run bundle`);
} }
if (process.platform === "darwin") { if (process.arch === "arm64") {
await exec(`npm i sqlite-better-trigram-darwin-x64 --force`); await exec(`npm i sqlite-better-trigram-${process.platform}-x64 --force`);
await exec(`npm i sqlite-better-trigram-darwin-arm64 --force`); } else if (process.arch === "x64") {
await exec(`npm i sqlite-better-trigram-${process.platform}-arm64 --force`);
} }
await exec(`yarn run build`); await exec(`yarn run build`);