From 50afdc3d7e1fbc32c92d15efec81f03bc971e1ba Mon Sep 17 00:00:00 2001 From: ocogeclub Date: Fri, 5 Mar 2021 18:58:59 +0900 Subject: [PATCH] updated electron --- installer/install.sh | 2 +- package.json | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/installer/install.sh b/installer/install.sh index 22cff7b..6bed19b 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -2,7 +2,7 @@ # Usage: bash install.sh # install node.js (=electron node version) via n (https://github.com/tj/n) -sudo bash ./files/n 12.18.3 +sudo bash ./files/n 14.16.0 # Install latest version of n via npm globally sudo npm install -g n # install desktop entry diff --git a/package.json b/package.json index 7fcb72c..a440447 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "start": "electron .", - "postinstall": "electron-rebuild" + "rebuild": "electron-rebuild" }, "repository": { "type": "git", @@ -19,13 +19,11 @@ }, "homepage": "https://github.com/ocogeclub/ocoge#readme", "devDependencies": { - "electron": "11.3.0", + "electron": "12.0.0", "electron-rebuild": "^2.3.4" }, "dependencies": { - "@tensorflow/tfjs-node": "^3.0.0", "axios": "^0.21.1", - "face-api.js": "^0.22.2", "nodemailer": "^6.4.17", "ocoge_pigpiod": "file:local_modules/ocoge_pigpiod" }