mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Keep target as Android package name instead of "unknown".
This commit is contained in:
@@ -141,10 +141,12 @@ void GetDefaultFiles(const char *logBaseName, string &capture_filename, string &
|
||||
GetExecutableFilename(path);
|
||||
|
||||
const char *mod = strrchr(path.c_str(), '/');
|
||||
if(mod == NULL)
|
||||
mod = "unknown";
|
||||
else
|
||||
if(mod != NULL)
|
||||
mod++;
|
||||
else if(path.length())
|
||||
mod = path.c_str(); // Keep Android package name i.e. org.company.app
|
||||
else
|
||||
mod = "unknown";
|
||||
|
||||
target = string(mod);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user