From c78e5597d2c80764976972370c31cb9b4ae557f3 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Tue, 8 Jan 2019 23:19:19 +0100 Subject: [PATCH] feat(arm): added testing arm support --- src/background/electronAppPath.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/background/electronAppPath.js b/src/background/electronAppPath.js index 0a8961f..ab98ed3 100644 --- a/src/background/electronAppPath.js +++ b/src/background/electronAppPath.js @@ -6,6 +6,10 @@ module.exports = (app) => { return `./${app}` } + if (process.arch === 'arm' || process.arch === 'arm64') { + return `imports/${process.arch}/${app}` + } + if (/^win/.test(process.platform) && fs.existsSync(`./${app}.exe`)) { return `./${app}.exe` }