Skip to content

Commit 952a909

Browse files
committed
Removed the Save Data box from the First Time Setup
It felt really redundant to have that there, as I've never seen anyone use it and having it in the First Time Setup (even with an Optional tag) has probably confused someone.
1 parent 8d17ae8 commit 952a909

2 files changed

Lines changed: 30 additions & 93 deletions

File tree

Sonic-06-Mod-Manager/src/Environment3/UnifySetup.Designer.cs

Lines changed: 23 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sonic-06-Mod-Manager/src/Environment3/UnifySetup.cs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using Unify.Serialisers;
66
using Unify.Environment3;
77
using System.Windows.Forms;
8+
using System.Diagnostics;
89

910
// Sonic '06 Mod Manager is licensed under the MIT License:
1011
/*
@@ -51,7 +52,6 @@ private void LoadSettings() {
5152
TextBox_ModsDirectory.Text = Properties.Settings.Default.Path_ModsDirectory;
5253
TextBox_GameDirectory.Text = Properties.Settings.Default.Path_GameExecutable;
5354
TextBox_EmulatorExecutable.Text = Properties.Settings.Default.Path_EmulatorDirectory;
54-
TextBox_SaveData.Text = Properties.Settings.Default.Path_SaveData;
5555
CheckBox_LaunchEmulator.Checked = Properties.Settings.Default.General_LaunchEmulator;
5656
}
5757

@@ -76,16 +76,14 @@ private void UnifySetup_FormClosing(object sender, FormClosingEventArgs e) {
7676
/// </summary>
7777
private void Button_Continue_Click(object sender, EventArgs e) {
7878
Properties.Settings.Default.Path_ModsDirectory = TextBox_ModsDirectory.Text;
79-
Properties.Settings.Default.Path_GameExecutable = TextBox_GameDirectory.Text;
79+
Properties.Settings.Default.Path_GameExecutable = TextBox_GameDirectory.Text;
8080
Properties.Settings.Default.Path_EmulatorDirectory = TextBox_EmulatorExecutable.Text;
81-
Properties.Settings.Default.Path_SaveData = TextBox_SaveData.Text;
8281
Properties.Settings.Default.General_LaunchEmulator = CheckBox_LaunchEmulator.Checked;
8382

8483
// If something was changed, unsubscribe from event.
8584
if (TextBox_ModsDirectory.Text != string.Empty ||
8685
TextBox_GameDirectory.Text != string.Empty ||
8786
TextBox_EmulatorExecutable.Text != string.Empty ||
88-
TextBox_SaveData.Text != string.Empty ||
8987
CheckBox_LaunchEmulator.Checked != true) {
9088
Properties.Settings.Default.General_FirstLaunch = false;
9189
Properties.Settings.Default.Save();
@@ -143,13 +141,12 @@ private void Button_Browse_Click(object sender, EventArgs e) {
143141

144142
if (browseEmulator != string.Empty)
145143
TextBox_EmulatorExecutable.Text = browseEmulator;
146-
} else if (sender == Button_SaveData) {
147-
// Browse for save data
148-
string browseSave = Dialogs.SaveData();
149-
150-
if (browseSave != string.Empty)
151-
TextBox_SaveData.Text = browseSave;
152144
}
153145
}
146+
147+
private void LinkLabel_Wiki_Help_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
148+
{
149+
Process.Start("https://github.com/Knuxfan24/Sonic-06-Mod-Manager/wiki/First-Time-Setup");
150+
}
154151
}
155152
}

0 commit comments

Comments
 (0)