Remove requrement for git repository to compile and run.
Closed this issue · 1 comments
Currently we're looking for the repository to get the git buildhash when building, then displaying this hash in the lower left of the map screen.
the idea of this was to see from a screenshot which branch and build someone was running when submitting a bug.
however the requirement to have git installed, and have the project as a git repository has caused more problems than having the hash displayed has ever helped.
If someone can come up with a better solution for doing this, it'd be good. anything that doesn't cause problems build if you don't have git installed and/or the project being a git repository would be good.
maybe creating a hash when a push is made would be better as well? I think currently just building it creates a different hash so it never really worked as intended anyway.
the fix is not perfect since it's looking for the hash at runtime instead of compile time, but at least it will cause less issues for people trying to check the project out.