Skip to content

Commit

Permalink
对原神国际服做了简单的支持
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed Aug 5, 2023
1 parent f592efd commit 82d9891
Show file tree
Hide file tree
Showing 9 changed files with 1,123 additions and 1,071 deletions.
6 changes: 6 additions & 0 deletions MiHoYoStarter/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
<setting name="GenshinCloudAutoStartEnabled" serializeAs="String">
<value>True</value>
</setting>
<setting name="GenshinServerIndex" serializeAs="String">
<value>0</value>
</setting>
<setting name="StarRailServerIndex" serializeAs="String">
<value>0</value>
</setting>
</MiHoYoStarter.Properties.Settings>
</userSettings>
</configuration>
4 changes: 4 additions & 0 deletions MiHoYoStarter/FormInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ private void btnSave_Click(object sender, EventArgs e)
acct = new GenshinAccount();

}
else if (gameNameEN == "Genshin*")
{
acct = new GenshinOverseaAccount();
}
else if (gameNameEN == "GenshinCloud")
{
acct = new GenshinCloudAccount();
Expand Down
626 changes: 300 additions & 326 deletions MiHoYoStarter/FormMain.Designer.cs

Large diffs are not rendered by default.

602 changes: 295 additions & 307 deletions MiHoYoStarter/FormMain.cs

Large diffs are not rendered by default.

Loading

0 comments on commit 82d9891

Please sign in to comment.