Skip to content

Instantly share code, notes, and snippets.

@smellman
Created March 18, 2016 00:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save smellman/b51081db6457a051279b to your computer and use it in GitHub Desktop.
Electron + sqlite3 for windows
@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