|
|
@ -75,6 +75,13 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean useOldVersionLogin = false; |
|
|
|
private boolean useOldVersionLogin = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 是否手动配置过新插件管理 |
|
|
|
|
|
|
|
* <li>11.0.18版本开始全部认为没有手动配置过,符合机型的都默认开启新插件管理,如果需要关闭需要再次手动配置</li> |
|
|
|
|
|
|
|
* <li>如果手动配置过则置为false</li> |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
private boolean useNewPluginFirst = true; |
|
|
|
|
|
|
|
|
|
|
|
private DesignerLoginConfigManager() { |
|
|
|
private DesignerLoginConfigManager() { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -103,6 +110,7 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter { |
|
|
|
this.setLoginRemindBeforeJumpBBS(reader.getAttrAsBoolean("loginRemindBeforeJumpBBS", true)); |
|
|
|
this.setLoginRemindBeforeJumpBBS(reader.getAttrAsBoolean("loginRemindBeforeJumpBBS", true)); |
|
|
|
this.setPluginRemindOnFirstLaunch(reader.getAttrAsBoolean("pluginRemindOnFirstLaunch", true)); |
|
|
|
this.setPluginRemindOnFirstLaunch(reader.getAttrAsBoolean("pluginRemindOnFirstLaunch", true)); |
|
|
|
this.setUseOldVersionLogin(reader.getAttrAsBoolean("useOldVersionLogin", false)); |
|
|
|
this.setUseOldVersionLogin(reader.getAttrAsBoolean("useOldVersionLogin", false)); |
|
|
|
|
|
|
|
this.setUseNewPluginFirst(reader.getAttrAsBoolean("useNewPluginFirst", true)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -123,6 +131,7 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter { |
|
|
|
writer.attr("loginRemindBeforeJumpBBS", loginRemindBeforeJumpBBS); |
|
|
|
writer.attr("loginRemindBeforeJumpBBS", loginRemindBeforeJumpBBS); |
|
|
|
writer.attr("pluginRemindOnFirstLaunch", pluginRemindOnFirstLaunch); |
|
|
|
writer.attr("pluginRemindOnFirstLaunch", pluginRemindOnFirstLaunch); |
|
|
|
writer.attr("useOldVersionLogin", useOldVersionLogin); |
|
|
|
writer.attr("useOldVersionLogin", useOldVersionLogin); |
|
|
|
|
|
|
|
writer.attr("useNewPluginFirst", useNewPluginFirst); |
|
|
|
writer.end(); |
|
|
|
writer.end(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -237,4 +246,12 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter { |
|
|
|
public void setUseOldVersionLogin(boolean useOldVersionLogin) { |
|
|
|
public void setUseOldVersionLogin(boolean useOldVersionLogin) { |
|
|
|
this.useOldVersionLogin = useOldVersionLogin; |
|
|
|
this.useOldVersionLogin = useOldVersionLogin; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isUseNewPluginFirst() { |
|
|
|
|
|
|
|
return useNewPluginFirst; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setUseNewPluginFirst(boolean useNewPluginFirst) { |
|
|
|
|
|
|
|
this.useNewPluginFirst = useNewPluginFirst; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|