1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Desktop: Upgrade Electron from v10 to v14

This commit is contained in:
Laurent Cozic
2021-10-01 19:35:27 +01:00
parent 85e20a61d9
commit 4a7746beb2
58 changed files with 67261 additions and 60756 deletions

View File

@@ -1,9 +1,11 @@
const sqlite3 = require('sqlite3').verbose();
const shim = require('./shim').default;
const Promise = require('promise');
class DatabaseDriverNode {
open(options) {
return new Promise((resolve, reject) => {
const sqlite3 = shim.nodeSqlite().verbose();
this.db_ = new sqlite3.Database(options.name, sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE, error => {
if (error) {
reject(error);