2
0
Эх сурвалжийг харах

removed unncesary property

Vicente Penades Armengot 5 сар өмнө
parent
commit
0618a9d82f

+ 2 - 7
build/SharpGLTF.CodeGen/Constants.cs

@@ -8,17 +8,12 @@ namespace SharpGLTF
     {
         #region root paths
 
-        public static string RemoteSchemaRepo = "https://github.com/KhronosGroup/glTF.git";
-
-        /// <summary>
-        /// Program directory
-        /// </summary>
-        public static string ProgramDirectory => System.IO.Path.GetDirectoryName(typeof(Constants).Assembly.Location);
+        public static string RemoteSchemaRepo = "https://github.com/KhronosGroup/glTF.git";        
 
         /// <summary>
         /// Directory where the schema is downloaded and used as source
         /// </summary>
-        public static string LocalRepoDirectory => System.IO.Path.Combine(ProgramDirectory, "glTF");
+        public static string LocalRepoDirectory => System.IO.Path.Combine(AppContext.BaseDirectory, "glTF");
 
         #endregion
     }