feat(arm): added testing arm support

This commit is contained in:
Alexey Kasyanchuk committed 2019-01-09 16:38:26 +03:00
1 parent 57883b0ba4
commit c78e5597d2
1 file changed
+4
+4
View File
@@ -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`
}