Browse Source

fix style

pull/391/head
王良 6 days ago
parent
commit
edb9f0325b
  1. 1
      packages/gui/src/background.js
  2. 2
      test/test.js

1
packages/gui/src/background.js

@ -19,6 +19,7 @@ const _powerMonitor = isWindows ? require('./background/powerMonitor').powerMoni
// be closed automatically when the JavaScript object is garbage collected.
let win
let winIsHidden = false
let tray // 防止被内存清理
let forceClose = false
DevSidecar.api.config.reload()

2
test/test.js

@ -23,7 +23,7 @@
// const content = fs.readFileSync('C:\\Users\\Administrator\\.dev-sidecar\\dev-sidecar.ca.crt')
// console.log('content:',JSON.stringify(content.toString().replace(new RegExp('\r\n','g'),'\n')))
// function testCa() {
// function testCa () {
// const https = require('https')
// const fs = require('fs')
// process.env.NODE_EXTRA_CA_CERTS = 'C:\\Users\\Administrator\\.dev-sidecar\\dev-sidecar.ca.crt'

Loading…
Cancel
Save