Browse Source

修正空引用

loki.wu 7 months ago
parent
commit
ad450a0133
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Client/PC/vStation/App.xaml.cs

+ 1 - 1
Client/PC/vStation/App.xaml.cs

@@ -74,12 +74,12 @@ namespace vStation
         private void IntiURMStation()
         {
             // "E:\\FISShellRev\\fis\\fis\\fis\\bin\\Debug\\net6.0"; 
+            URMConfig.URMWorkingDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "URMWorkStation") ;
 
             if (!Directory.Exists(URMConfig.StorageDirectory))
             { 
                 Directory.CreateDirectory(URMConfig.StorageDirectory);
             }
-            URMConfig.URMWorkingDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "URMWorkStation") ;
             RootObject root=null;
             var isSingle= URMConfig.GetIsSingleMode();
             if (File.Exists(URMConfig.ConfigPath))