updated electron

This commit is contained in:
ocogeclub 2021-03-05 18:58:59 +09:00
parent 1f712b5307
commit 50afdc3d7e
2 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# Usage: bash install.sh # Usage: bash install.sh
# install node.js (=electron node version) via n (https://github.com/tj/n) # 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 # Install latest version of n via npm globally
sudo npm install -g n sudo npm install -g n
# install desktop entry # install desktop entry

View File

@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "electron .", "start": "electron .",
"postinstall": "electron-rebuild" "rebuild": "electron-rebuild"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -19,13 +19,11 @@
}, },
"homepage": "https://github.com/ocogeclub/ocoge#readme", "homepage": "https://github.com/ocogeclub/ocoge#readme",
"devDependencies": { "devDependencies": {
"electron": "11.3.0", "electron": "12.0.0",
"electron-rebuild": "^2.3.4" "electron-rebuild": "^2.3.4"
}, },
"dependencies": { "dependencies": {
"@tensorflow/tfjs-node": "^3.0.0",
"axios": "^0.21.1", "axios": "^0.21.1",
"face-api.js": "^0.22.2",
"nodemailer": "^6.4.17", "nodemailer": "^6.4.17",
"ocoge_pigpiod": "file:local_modules/ocoge_pigpiod" "ocoge_pigpiod": "file:local_modules/ocoge_pigpiod"
} }