mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-12 18:47:07 +00:00
Always use git commit hash to identify android build
* This prevents reinstall issues if the UI is looking for a plain major/ minor versionName and the apk was built with a commit hash.
This commit is contained in:
@@ -435,7 +435,7 @@ bool CheckAndroidServerVersion(const string &deviceID)
|
||||
// Compare the server's versionCode and versionName with the host's for compatibility
|
||||
std::string hostVersionCode =
|
||||
string(STRINGIZE(RENDERDOC_VERSION_MAJOR)) + string(STRINGIZE(RENDERDOC_VERSION_MINOR));
|
||||
std::string hostVersionName = RENDERDOC_STABLE_BUILD ? MAJOR_MINOR_VERSION_STRING : GitVersionHash;
|
||||
std::string hostVersionName = GitVersionHash;
|
||||
|
||||
// False positives will hurt us, so check for explicit matches
|
||||
if((hostVersionCode == versionCode) && (hostVersionName == versionName))
|
||||
|
||||
Reference in New Issue
Block a user