Browse Source

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

This was caused by an unexpected Weblate interaction with a force push.
pull/1278/head
Svallinn 1 year ago
parent
commit
b37c46f12d
No known key found for this signature in database GPG Key ID: 9FB527F34037CCA
  1. 19
      .vscode/tasks.json
  2. 2
      _scripts/dev-runner.js
  3. 1
      src/main/index.js

19
.vscode/tasks.json

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

2
_scripts/dev-runner.js

@ -45,7 +45,7 @@ async function restartElectron() {
electronProcess = spawn(electron, [
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 ? '--remote-debugging-port=9223' : '',
])

1
src/main/index.js

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

Loading…
Cancel
Save