File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Universal THCRAP Launcher Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,10 @@ public MainForm()
38
38
39
39
#region Global variables
40
40
41
- private const string CONFIG_FILE = @"..\config\utl_config.json" ;
42
- private const string FAVORITE_FILE = @"..\config\favorite.json" ;
43
- private const string GAMES_FILE = @"..\config\games.js" ;
41
+ private const string CONFIG_FOLDER = @"..\config\" ;
42
+ private const string CONFIG_FILE = CONFIG_FOLDER + @"utl_config.json" ;
43
+ private const string FAVORITE_FILE = CONFIG_FOLDER + @"favorite.json" ;
44
+ private const string GAMES_FILE = CONFIG_FOLDER + @"games.js" ;
44
45
45
46
private readonly Image _custom = new Bitmap ( Resources . Custom ) ;
46
47
private readonly Image _game = new Bitmap ( Resources . Game ) ;
@@ -417,7 +418,7 @@ private void openConfigureTS_Click(object sender, EventArgs e)
417
418
418
419
private void openSelectedPatchConfigurationTS_Click ( object sender , EventArgs e )
419
420
{
420
- string path = Directory . GetCurrentDirectory ( ) + @"/" +
421
+ string path = Directory . GetCurrentDirectory ( ) + @"\" + CONFIG_FOLDER +
421
422
patchListBox . SelectedItem . ToString ( ) . Replace ( " ★" , "" ) ;
422
423
if ( Configuration1 . HidePatchExtension )
423
424
{
You can’t perform that action at this time.
0 commit comments