Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

rostislavjadavan/kibinotes

Repository files navigation

drawing

Kibinotes

Minimalistic notes application with instant search

Development

  • node@16 is needed
  • Use npm install to init dependencies
  • npm electron:serve to run development mode

How to fix better-sqlite3 error

To rebuild better-sqlite3 with used version of electron run:

node_modules/.bin/electron-rebuild -f -w better-sqlite3

See WiseLibs/better-sqlite3#126 (comment)

How to build on Windows

In order to build SQLite MSVC toolchain is needed. Please follow steps in https://github.com/nodejs/node-gyp#on-windows.

How to build on MacOS without Python2

Install python2 using pyenv 😄

brew install pyenv
pyenv install 2.7.18

Update path to python in node_modules/dmg-builder/out/dmg.js on line 388.

...await (0, _builderUtil().exec)("/Users/username/.pyenv/versions/2.7.18/bin/python", [path.join((0, _dmgUti...

⚠️ Note: The path must be absolute or it won't work.

Useful documentation links

License

GNU GPLv3