mirror of
https://github.com/Strongleong/ScrapModLoader.git
synced 2024-08-15 00:03:19 +00:00
Bug fixes
This commit is contained in:
parent
25c3fd0425
commit
deffd05581
2 changed files with 3 additions and 2 deletions
|
@ -181,7 +181,7 @@ namespace ScrapModLoader
|
|||
String gamePath = modsLauncher.SelectedGameVersion == "1.0" ?
|
||||
modsLauncher.ScraplandPath : modsLauncher.ScraplandRemasteredPath;
|
||||
|
||||
Process.Start(Path.Combine(gamePath, @"\bin\Scrap.exe"), args);
|
||||
Process.Start(Path.Combine(gamePath, @"bin\Scrap.exe"), args);
|
||||
|
||||
if (CloseLauncher.IsChecked ?? false)
|
||||
Close();
|
||||
|
|
|
@ -114,7 +114,8 @@ namespace ScrapModLoader
|
|||
}
|
||||
}
|
||||
|
||||
private String ModPath(ScrapMod mod) => Path.Combine(SelectedGamePath, "Mod", mod.Name);
|
||||
private String ModPath(ScrapMod mod) =>
|
||||
Path.Combine(SelectedGamePath, "Mods", mod.Name);
|
||||
|
||||
public Boolean IsLoaded(ScrapMod mod) =>
|
||||
Directory.Exists(ModPath(mod));
|
||||
|
|
Loading…
Reference in a new issue