移除未使用的网络代理设置用户名、密码设置
This commit is contained in:
@@ -125,8 +125,6 @@ const defaultSetting: LX.AppSetting = {
|
||||
'network.proxy.enable': false,
|
||||
'network.proxy.host': '',
|
||||
'network.proxy.port': '',
|
||||
'network.proxy.username': '',
|
||||
'network.proxy.password': '',
|
||||
|
||||
'tray.enable': false,
|
||||
// 'tray.isToTray': false,
|
||||
|
||||
Vendored
-10
@@ -579,16 +579,6 @@ declare global {
|
||||
*/
|
||||
'network.proxy.port': string
|
||||
|
||||
/**
|
||||
* 代理服务器用户名
|
||||
*/
|
||||
'network.proxy.username': string
|
||||
|
||||
/**
|
||||
* 代理服务器密码
|
||||
*/
|
||||
'network.proxy.password': string
|
||||
|
||||
/**
|
||||
* 是否启用托盘
|
||||
*/
|
||||
|
||||
@@ -117,8 +117,6 @@ export default (setting: any): Partial<LX.AppSetting> => {
|
||||
setting['network.proxy.enable'] = setting.network?.proxy?.enable
|
||||
setting['network.proxy.host'] = setting.network?.proxy?.host
|
||||
setting['network.proxy.port'] = setting.network?.proxy?.port
|
||||
setting['network.proxy.username'] = setting.network?.proxy?.username
|
||||
setting['network.proxy.password'] = setting.network?.proxy?.password
|
||||
|
||||
setting['tray.enable'] = setting.tray?.enable
|
||||
setting['tray.themeId'] = setting.tray?.themeId
|
||||
|
||||
Reference in New Issue
Block a user