Revert unintended merged code from "Update package-lock.json"

This was caused by an unexpected Weblate interaction with a force push.
This commit is contained in:
Svallinn 2021-05-10 05:59:48 +01:00
parent eba4fe47df
commit b37c46f12d
No known key found for this signature in database
GPG Key ID: 09FB527F34037CCA
3 changed files with 21 additions and 1 deletions

19
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,19 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "dev",
"problemMatcher": []
},
{
"type": "npm",
"script": "dev-runner",
"problemMatcher": [],
"label": "npm: dev-runner",
"detail": "node _scripts/dev-runner.js"
}
]
}

View File

@ -45,7 +45,7 @@ async function restartElectron() {
electronProcess = spawn(electron, [ electronProcess = spawn(electron, [
path.join(__dirname, '../dist/main.js'), path.join(__dirname, '../dist/main.js'),
'--enable-logging', // Enable to show logs from all electron processes // '--enable-logging', Enable to show logs from all electron processes
remoteDebugging ? '--inspect=9222' : '', remoteDebugging ? '--inspect=9222' : '',
remoteDebugging ? '--remote-debugging-port=9223' : '', remoteDebugging ? '--remote-debugging-port=9223' : '',
]) ])

View File

@ -212,6 +212,7 @@ function runApp() {
async function installDevTools () { async function installDevTools () {
try { try {
/* eslint-disable */ /* eslint-disable */
require('devtron').install()
require('vue-devtools').install() require('vue-devtools').install()
/* eslint-enable */ /* eslint-enable */
} catch (err) { } catch (err) {