Add Setting Upgrade

This commit is contained in:
2023-07-22 00:11:01 +08:00
parent c82ce1ea35
commit eb60f402a4
4 changed files with 31 additions and 0 deletions

View File

@@ -274,5 +274,17 @@ namespace GrasscutterTools.Properties {
this["ProjectResourcePath"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool IsUpgraded {
get {
return ((bool)(this["IsUpgraded"]));
}
set {
this["IsUpgraded"] = value;
}
}
}
}

View File

@@ -65,5 +65,8 @@
<Setting Name="ProjectResourcePath" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="IsUpgraded" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>