Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an indirection level to allow tests to specify different configs #1955

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Utilities/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public class Constants
public const string EDDI_SERVER_URL = "https://edcd.github.io/EDDP/";
public static readonly string EDDI_SYSTEM_MUTEX_NAME = $"{EDDI_SERVER_URL}/{EDDI_NAME}/{Environment.GetEnvironmentVariable("UserName")}";

public static readonly string DATA_DIR = Environment.GetEnvironmentVariable("AppData") + "\\" + EDDI_NAME;
public static string BASE_DIR = Environment.GetEnvironmentVariable("AppData");
public static readonly string DATA_DIR = BASE_DIR + "\\" + EDDI_NAME;

public static readonly string ENVIRONMENT_WITCH_SPACE = "Witch Space";
public static readonly string ENVIRONMENT_SUPERCRUISE = "Supercruise";
Expand Down