Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
temp removed config for now
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoes1286 committed Mar 24, 2021
1 parent 6e2f003 commit 80cfca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ModInstaller/Backend/Common/ModInstallerConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ModInstallerConfig
public bool DeleteArchiveOnFinish { get; set; }

[JsonIgnore]
public string ConfigPath => Path.Combine(Utilities.GameDirectoryOrThrow + "/ModInstallerCache/config.json");
public string ConfigPath => Path.Combine(Directory.GetCurrentDirectory() + "/config.json");

public static string GenerateModInstallerConfig()
{
Expand Down
4 changes: 2 additions & 2 deletions ModInstaller/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ private static void Main()
Logger.InitialiseLog();
ModInstallerCommon.OverrideModInstallerVariables();
if (Utilities.GameDirectory == JsonModList.Fixloc) { Console.WriteLine("pcf!"); goto exit;}
ModInstallerConfig.GenerateModInstallerConfig();
var config = ModInstallerConfig.GetConfig();
//ModInstallerConfig.GenerateModInstallerConfig();
//var config = ModInstallerConfig.GetConfig();
CheckCache();
CheckForManualInstalledMods();
CheckForManuallyUninstalledMods();
Expand Down

0 comments on commit 80cfca8

Please sign in to comment.