Skip to content

Commit 0618a9d

Browse files
committed
removed unncesary property
1 parent 6809ed0 commit 0618a9d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

build/SharpGLTF.CodeGen/Constants.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,12 @@ static class Constants
88
{
99
#region root paths
1010

11-
public static string RemoteSchemaRepo = "https://github.com/KhronosGroup/glTF.git";
12-
13-
/// <summary>
14-
/// Program directory
15-
/// </summary>
16-
public static string ProgramDirectory => System.IO.Path.GetDirectoryName(typeof(Constants).Assembly.Location);
11+
public static string RemoteSchemaRepo = "https://github.com/KhronosGroup/glTF.git";
1712

1813
/// <summary>
1914
/// Directory where the schema is downloaded and used as source
2015
/// </summary>
21-
public static string LocalRepoDirectory => System.IO.Path.Combine(ProgramDirectory, "glTF");
16+
public static string LocalRepoDirectory => System.IO.Path.Combine(AppContext.BaseDirectory, "glTF");
2217

2318
#endregion
2419
}

0 commit comments

Comments
 (0)