55using Unify . Serialisers ;
66using Unify . Environment3 ;
77using 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