Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace electron-rebuild with electron-builder #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

replace electron-rebuild with electron-builder #12

wants to merge 1 commit into from

Conversation

alex-schmitt
Copy link

This PR is to revive this repo by replacing electron-rebuild with electron-builder. Among many features electron-builder handles native dependencies well.

I was able to compile the app for Windows and macOS. IndexedDB, WebSQL, LevelDB, and node-websql (SQLite) all working.

When running the app with npm start the LevelDB folder and sqlite file were stored in the project directory which is fine, but when compiled i'm not quite sure where they were stored or if it was being stored at all.

I found out that if you add a file path to the PouchDB constructor it will store the databases in that location. I can't find any mention of this being part of the PouchDB API, but its working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants