diff --git a/README.md b/README.md index e0c3d0a0..0766e0c6 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,14 @@ yarn link yarn link frappejs ``` +### FAQ + +1. Launching electron and nothing displays +https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/24#issuecomment-770165389 +``` +sudo chown root node_modules/electron/dist/chrome-sandbox && sudo chmod 4755 node_modules/electron/dist/chrome-sandbox +``` + ## License [GNU Affero General Public License v3.0](LICENSE) diff --git a/package.json b/package.json index e505d9ab..23978db4 100644 --- a/package.json +++ b/package.json @@ -20,9 +20,9 @@ "@popperjs/core": "^2.0.3", "core-js": "^3.4.3", "electron-store": "^5.1.0", - "frappe-charts": "^1.3.0", "frappejs": "https://github.com/frappe/frappejs", - "knex": "^0.20.4", + "frappe-charts": "1.6.1", + "knex": "^0.95.11", "lodash": "^4.17.15", "luxon": "^1.21.3", "portal-vue": "^2.1.6", @@ -38,7 +38,8 @@ "@vue/cli-service": "^4.1.0", "@vue/eslint-config-prettier": "^5.0.0", "babel-eslint": "^10.0.3", - "electron": "^6.0.0", + "electron": "^8.0.0", + "electron-devtools-installer": "^3.2.0", "electron-notarize": "^0.2.1", "electron-updater": "^4.2.0", "eslint": "^5.16.0", @@ -47,7 +48,7 @@ "lint-staged": "^9.4.3", "prettier": "^1.19.1", "raw-loader": "^4.0.0", - "vue-cli-plugin-electron-builder": "https://github.com/netchampfaris/vue-cli-plugin-electron-builder", + "vue-cli-plugin-electron-builder": "^2.0.0", "vue-template-compiler": "^2.6.10" }, "gitHooks": { @@ -55,5 +56,8 @@ }, "lint-staged": { "*.{js,vue}": "vue-cli-service lint" + }, + "engines": { + "node": ">=16.4.0" } } diff --git a/src/App.vue b/src/App.vue index b110f398..5befd873 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,7 +23,7 @@