atenfyr / UAssetAPI

A low-level .NET library for reading and writing Unreal Engine game assets.
https://atenfyr.github.io/UAssetAPI/
MIT License
195 stars 44 forks source link

Fix creating git_commit.txt on Linux #40

Closed trumank closed 1 year ago

trumank commented 1 year ago

I assume a forward slash should work fine on Windows, but I have not tested. The backslash on Linux ends up creating a file named \\git_commit.txt which causes the build to fail.

atenfyr commented 1 year ago

$(ProjectDir) includes a trailing slash regardless, so I'll just remove it in the csproj entirely instead. Fixed in 36c1b62