|
@@ -8,17 +8,12 @@ namespace SharpGLTF
|
|
|
{
|
|
{
|
|
|
#region root paths
|
|
#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>
|
|
/// <summary>
|
|
|
/// Directory where the schema is downloaded and used as source
|
|
/// Directory where the schema is downloaded and used as source
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
- public static string LocalRepoDirectory => System.IO.Path.Combine(ProgramDirectory, "glTF");
|
|
|
|
|
|
|
+ public static string LocalRepoDirectory => System.IO.Path.Combine(AppContext.BaseDirectory, "glTF");
|
|
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
|
}
|
|
}
|