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