From 44c84028dc702644e4cc82fc38b8c824796f5a3f Mon Sep 17 00:00:00 2001 From: mntmn Date: Sat, 14 Apr 2018 22:29:25 +0200 Subject: [PATCH] electron windows sqlite3 build instrs --- electron-windows.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 electron-windows.md diff --git a/electron-windows.md b/electron-windows.md new file mode 100644 index 0000000..de6a870 --- /dev/null +++ b/electron-windows.md @@ -0,0 +1,17 @@ + +# Windows Electron Build + +sqlite3 needs to be manually built for the iojs version that electron ships. The following code assumes electron v1.8.4. + +```` +npm -g install windows-build-tools + +cd node_modules\sqlite3 + +node-gyp configure --module_name=node_sqlite3 --module_path=../lib/binding/electron-v1.8-win32-x64 + +node-gyp rebuild --target=1.8.4 --target_platform=win32 --dist-url=https://atom.io/download/atom-shell --module_name=node_sqlite3 --module_path=../lib/binding/electron-v1.8-win32-x64 --msvs_version=2015 + +cd ..\.. +```` +