Skip to content

Commit

Permalink
feat(arm): added testing arm support
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Jan 9, 2019
1 parent c788569 commit 8b9f9f6
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 0 deletions.
Binary file added imports/arm/indexer
Binary file not shown.
Binary file added imports/arm/indextool
Binary file not shown.
Binary file added imports/arm/searchd
Binary file not shown.
Binary file added imports/arm/spelldump
Binary file not shown.
Binary file added imports/arm/wordbreaker
Binary file not shown.
Binary file added imports/arm64/indexer
Binary file not shown.
Binary file added imports/arm64/indextool
Binary file not shown.
Binary file added imports/arm64/searchd
Binary file not shown.
Binary file added imports/arm64/spelldump
Binary file not shown.
Binary file added imports/arm64/wordbreaker
Binary file not shown.
4 changes: 4 additions & 0 deletions src/background/electronAppPath.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
}
Expand Down

0 comments on commit 8b9f9f6

Please sign in to comment.