Add automatic backup disable setting

even if folder exists, can turn off the feature
This commit is contained in:
Kurt 2018-12-26 17:25:22 -08:00
parent 36fb61ab09
commit cf0ebf6a4e
3 changed files with 18 additions and 0 deletions

View File

@ -61,6 +61,9 @@
<setting name="DetectSaveOnStartup" serializeAs="String">
<value>True</value>
</setting>
<setting name="BAKEnabled" serializeAs="String">
<value>True</value>
</setting>
</PKHeX.WinForms.Properties.Settings>
</userSettings>
<runtime>

View File

@ -238,5 +238,17 @@ internal sealed partial class Settings : global::System.Configuration.Applicatio
this["DetectSaveOnStartup"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool BAKEnabled {
get {
return ((bool)(this["BAKEnabled"]));
}
set {
this["BAKEnabled"] = value;
}
}
}
}

View File

@ -56,5 +56,8 @@
<Setting Name="DetectSaveOnStartup" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="BAKEnabled" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>