|
@@ -2,8 +2,7 @@
|
|
|
|
|
|
public class Paths
|
|
|
{
|
|
|
- public static string LocalPath { get; } = AppDomain.CurrentDomain.SetupInformation.ApplicationBase!;
|
|
|
- private static string MainFolder { get; } = new DirectoryInfo(LocalPath!)!.Parent!.FullName;
|
|
|
+ private static string MainFolder { get; } = new DirectoryInfo(Dir.ExeDirectory).Parent!.FullName;
|
|
|
|
|
|
public static string ConfigFileFolder { get; } = Path.Combine(MainFolder, "Settings", "ConfigFiles");
|
|
|
public static string HardwareFolder { get; } = Path.Combine(MainFolder, "Settings", "Hardwares");
|