Created
March 18, 2016 00:51
-
-
Save smellman/b51081db6457a051279b to your computer and use it in GitHub Desktop.
Electron + sqlite3 for windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd /d %~dp0 | |
cd /d node_modules\sqlite3 | |
call npm install | |
call npm run prepublish | |
call node-gyp configure --module_name=node_sqlite3 --module_path=../lib/binding/node-v47-win32-ia32 | |
call node-gyp rebuild --target=0.36.4 --arch=ia32 --target_platform=win32 --dist-url=https://atom.io/download/atom-shell --module_name=node_sqlite3 --module_path=../lib/binding/node-v47-win32-ia32 | |
cd /d %~dp0 | |
exit /B 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment