浏览代码

removed unncesary property

Vicente Penades Armengot 5 月之前
父节点
当前提交
0618a9d82f
共有 1 个文件被更改,包括 2 次插入7 次删除
  1. 2 7
      build/SharpGLTF.CodeGen/Constants.cs

+ 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
     }