|
|
|
@ -464,8 +464,7 @@ ipcMain.on('toggleWin', function(event, allwaysShow) {
|
|
|
|
|
|
|
|
|
|
// Proxy
|
|
|
|
|
if ( config.get('proxy') ) { |
|
|
|
|
app.commandLine.appendSwitch('proxy-server', 'http://'+config.get('proxyHost')+':'+config.get('proxyPort')); |
|
|
|
|
console.info('test2') |
|
|
|
|
app.commandLine.appendSwitch('proxy-server', config.get('proxyHost')+':'+config.get('proxyPort')); |
|
|
|
|
app.on('login', (event, webContents, request, authInfo, callback) => { |
|
|
|
|
if(!authInfo.isProxy) |
|
|
|
|
return; |
|
|
|
|