Add remote resource support to DEBUG tools

This commit is contained in:
jie65535 committed 2026-11-05 22:40:13 +08:00
1 parent 240a64e47f
commit d90cb70241
7 files changed
+767 -172

No files matched your search

+48
View File
@@ -274,6 +274,54 @@ namespace GrasscutterTools.Properties {
this["ProjectResourcePath"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string RemoteResourceRepository {
get {
return ((string)(this["RemoteResourceRepository"]));
}
set {
this["RemoteResourceRepository"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("main")]
public string RemoteResourceBranch {
get {
return ((string)(this["RemoteResourceBranch"]));
}
set {
this["RemoteResourceBranch"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string RemoteResourceToken {
get {
return ((string)(this["RemoteResourceToken"]));
}
set {
this["RemoteResourceToken"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool UseRemoteResourceRepository {
get {
return ((bool)(this["UseRemoteResourceRepository"]));
}
set {
this["UseRemoteResourceRepository"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -65,6 +65,18 @@
<Setting Name="ProjectResourcePath" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="RemoteResourceRepository" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="RemoteResourceBranch" Type="System.String" Scope="User">
<Value Profile="(Default)">main</Value>
</Setting>
<Setting Name="RemoteResourceToken" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="UseRemoteResourceRepository" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="IsUpgraded" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
@@ -81,4 +93,4 @@
<Value Profile="(Default)">100</Value>
</Setting>
</Settings>
</SettingsFile>
</SettingsFile>