pull/391/head
王良 1 week ago
parent b5fe1ca9ed
commit edb9f0325b

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

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

Loading…
Cancel
Save