1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Tools: Fixed Electron build

This commit is contained in:
Laurent Cozic 2020-03-30 18:03:02 +01:00
parent a59cc94afc
commit c99dd2ba87

View File

@ -28,6 +28,8 @@ async function main() {
let exePath = `${__dirname}/../node_modules/.bin/electron-rebuild`;
if (isWindows()) exePath += '.cmd';
process.chdir(`${__dirname}/..`);
if (isWindows()) {
console.info(await execCommand([`"${exePath}"`, '--arch ia32'].join(' ')));
console.info(await execCommand([`"${exePath}"`, '--arch x64'].join(' ')));