From 08dbf90a8c40222ebf8b02f9a5f2ab9740036d69 Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 21 May 2020 09:42:25 +0200 Subject: [PATCH] hide body during startup to reduce flicker --- .idea/dataSources.xml | 2 +- package.json | 10 +++++----- src/views/desktop.ejs | 9 +++++++++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index fa5ae48bf..3ecf47dd8 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -5,7 +5,7 @@ sqlite.xerial true org.sqlite.JDBC - jdbc:sqlite:$PROJECT_DIR$/../trilium-data/document.db + jdbc:sqlite:$USER_HOME$/trilium-data/document.db \ No newline at end of file diff --git a/package.json b/package.json index df0b1c810..892152425 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "electron-window-state": "5.0.3", "express": "4.17.1", "express-session": "1.17.1", - "file-type": "14.4.0", + "file-type": "14.5.0", "fs-extra": "9.0.0", "helmet": "3.22.0", "html": "1.0.0", @@ -52,14 +52,14 @@ "imagemin-pngquant": "8.0.0", "ini": "1.3.5", "is-svg": "4.2.1", - "jimp": "0.12.0", + "jimp": "0.12.1", "mime-types": "2.1.27", "multer": "1.4.2", - "node-abi": "2.16.0", + "node-abi": "2.17.0", "open": "7.0.4", "portscanner": "2.2.0", "rand-token": "1.0.1", - "rcedit": "2.1.1", + "rcedit": "2.2.0", "rimraf": "3.0.2", "sanitize-filename": "1.6.3", "sax": "1.2.4", @@ -80,7 +80,7 @@ }, "devDependencies": { "electron": "9.0.0", - "electron-builder": "22.6.0", + "electron-builder": "22.6.1", "electron-packager": "14.2.1", "electron-rebuild": "1.11.0", "jasmine": "^3.5.0", diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs index 837e8d8d4..8f5560d1e 100644 --- a/src/views/desktop.ejs +++ b/src/views/desktop.ejs @@ -8,6 +8,11 @@ + +
@@ -78,6 +83,10 @@ + +