Qt: log uuid

This creates and logs a unique identifier and saves it to a file.
The ID will be logged for statistical purposes and stay the same until recreated.
This commit is contained in:
Megamouse 2022-06-30 20:49:44 +02:00
parent 69912ba3c7
commit 8043bb9087
6 changed files with 161 additions and 0 deletions

View file

@ -24,6 +24,7 @@
#include "rpcs3qt/fatal_error_dialog.h"
#include "rpcs3qt/curl_handle.h"
#include "rpcs3qt/main_window.h"
#include "rpcs3qt/uuid.h"
#include "headless_application.h"
#include "Utilities/sema.h"
@ -869,6 +870,9 @@ int main(int argc, char** argv)
return 0;
}
// Log unique ID
gui::utils::log_uuid();
std::string active_user;
if (parser.isSet(arg_user_id))