Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.23 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.23 KB

sqlcipher-electron-demo

Demo for cross-sqlcipher used with Electron

  • MacOS (verified)
  • Windows (needs feedback..)
  • CIs

Related issues:

Steps

npm install
npm start # prints items in window
open test.db # requires password..

Troubleshootings

How it works

Say something..?

{
  "name": "sqlcipher-electron-demo",
  "main": "main.js",
  "scripts": {
    "postinstall": "npm run rebuild",
    "rebuild": "electron-rebuild && npm run sqlcipher",
    "sqlcipher": "cd node_modules/cross-sqlcipher && npm i --runtime=electron --target=1.8.4 --dist-url=https://atom.io/download/electron",
    "start": "electron ."
  },
  "devDependencies": {
    "electron": "=1.8.4",
    "electron-rebuild": "^1.7.3"
  },
  "dependencies": {
    "cross-sqlcipher": "0.0.2"
  }
}