Skip to content

Commit

Permalink
Merge pull request #1058 from FernandoRApud/fix/SteamDetectionFiles
Browse files Browse the repository at this point in the history
Fixing Not Available Steam Files for Mod Manager
  • Loading branch information
Vladabdf authored Jun 16, 2024
2 parents a5cfde6 + f0e0fb8 commit a44e3b6
Show file tree
Hide file tree
Showing 5 changed files with 1,285 additions and 979 deletions.
30 changes: 30 additions & 0 deletions OpenKh.Tools.ModsManager/Services/ConfigurationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ private class Config
public string Pcsx2Location { get; internal set; }
public string PcReleaseLocation { get; internal set; }
public string PcReleaseLocationKH3D { get; internal set; }
public string PcReleaseSteamLocation { get; internal set; }
public string PcReleaseSteamLocationKH3D { get; internal set; }
public string PcReleaseLanguage { get; internal set; } = "en";
public string PcReleaseLanguageDT { get; internal set; } = "dt";
public int RegionId { get; internal set; }
public bool PanaceaInstalled { get; internal set; }
public bool ShowConsole { get; internal set; } = false;
Expand Down Expand Up @@ -267,6 +270,24 @@ public static string PcReleaseLocationKH3D
_config.Save(ConfigPath);
}
}
public static string PcReleaseSteamLocation
{
get => _config.PcReleaseSteamLocation;
set
{
_config.PcReleaseSteamLocation = value;
_config.Save(ConfigPath);
}
}
public static string PcReleaseSteamLocationKH3D
{
get => _config.PcReleaseSteamLocationKH3D;
set
{
_config.PcReleaseSteamLocationKH3D = value;
_config.Save(ConfigPath);
}
}

public static string PcReleaseLanguage
{
Expand All @@ -277,6 +298,15 @@ public static string PcReleaseLanguage
_config.Save(ConfigPath);
}
}
public static string PcReleaseLanguageDT
{
get => _config.PcReleaseLanguageDT;
set
{
_config.PcReleaseLanguageDT = value;
_config.Save(ConfigPath);
}
}

public static int RegionId
{
Expand Down
Loading

0 comments on commit a44e3b6

Please sign in to comment.