mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 22:40:26 +01:00
Fix Node arch
This commit is contained in:
@@ -33,7 +33,7 @@ const SRC_BIN_MAP = {
|
||||
};
|
||||
|
||||
(async function () {
|
||||
const key = `${process.platform}_${process.arch}`;
|
||||
const key = `${process.platform}_${process.env.NODE_ARCH ?? process.arch}`;
|
||||
const url = URL_MAP[key];
|
||||
const tmpDir = path.join(os.tmpdir(), `${Math.random()}`);
|
||||
const dstDir = path.join(__dirname, `..`, 'src-tauri', 'vendored', 'protoc');
|
||||
|
||||
Reference in New Issue
Block a user