Skip to content

we-demo/sqlcipher-electron-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Cannot read property 'pause' of undefined while npm install

    npm imstall -g npm@5.5.1
    npm install

    Ref npm/npm#18520 (comment)

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"
  }
}

About

Demo for cross-sqlcipher used with Electron

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published