chanegTaskName

This commit is contained in:
Mossimo
2021-04-27 00:59:24 +08:00
parent a73aca1b6a
commit de6186ddee
@@ -22,13 +22,10 @@ namespace System.Application.UI.ViewModels
get => AppResources.ScriptConfig;
protected set { throw new NotImplementedException(); }
}
bool IsCheck { get; set; } = true;
internal override void Activation()
internal override void ActivationOnFirst()
{
if (ProxySettings.IsAutoCheckScriptUpdate && IsCheck) {
IsCheck = false;
if (ProxySettings.IsAutoCheckScriptUpdate)
ProxyService.Current.CheckUpdate();
}
}
private readonly ReadOnlyObservableCollection<ScriptDTO> _ProxyScripts;
public ReadOnlyObservableCollection<ScriptDTO> ProxyScripts => _ProxyScripts;