mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-17 18:14:53 +08:00
fix(script): allow x64 build on Windows
Electron is available for 64-bit Windows machines(https://github.com/atom/electron/issues/980), so we don't need the 32-bit check anymore. Reference: https://github.com/nylas/N1/issues/28
This commit is contained in:
parent
7e030a1421
commit
d5ea09adbc
1 changed files with 0 additions and 4 deletions
|
@ -39,10 +39,6 @@ function makeSqlite3Command() {
|
|||
var targetPlatform = require('os').platform();
|
||||
var targetArch = require('os').arch();
|
||||
|
||||
if ((targetPlatform == 'win32') && (targetArch != 'ia32')) {
|
||||
// Unless electron for windows goes 64bit, this should stay
|
||||
throw new Error("Building for win32 with architecture "+targetArch+". Are you sure you meant to do this?");
|
||||
}
|
||||
return npmPath+" install https://github.com/bengotow/node-sqlite3/archive/master.tar.gz --ignore-scripts && cd node_modules/sqlite3 && "+npmPath+" run prepublish && "+nodeGypPath+" configure rebuild --target="+targetVersion+" --arch="+targetArch+" --target_platform="+targetPlatform+" --dist-url=https://atom.io/download/atom-shell --module_name=node_sqlite3 --module_path=../lib/binding/node-v44-"+targetPlatform+"-"+targetArch
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue