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:
parent
a59cc94afc
commit
c99dd2ba87
@ -28,6 +28,8 @@ async function main() {
|
|||||||
let exePath = `${__dirname}/../node_modules/.bin/electron-rebuild`;
|
let exePath = `${__dirname}/../node_modules/.bin/electron-rebuild`;
|
||||||
if (isWindows()) exePath += '.cmd';
|
if (isWindows()) exePath += '.cmd';
|
||||||
|
|
||||||
|
process.chdir(`${__dirname}/..`);
|
||||||
|
|
||||||
if (isWindows()) {
|
if (isWindows()) {
|
||||||
console.info(await execCommand([`"${exePath}"`, '--arch ia32'].join(' ')));
|
console.info(await execCommand([`"${exePath}"`, '--arch ia32'].join(' ')));
|
||||||
console.info(await execCommand([`"${exePath}"`, '--arch x64'].join(' ')));
|
console.info(await execCommand([`"${exePath}"`, '--arch x64'].join(' ')));
|
||||||
|
Loading…
Reference in New Issue
Block a user