mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
desktop: always install both arm64 and x64 packages on all platforms
This commit is contained in:
@@ -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`);
|
||||||
|
|||||||
Reference in New Issue
Block a user