mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 22:00:00 +10:00
analytics_handler.py: Adjust commit info sent
This commit is contained in:
@@ -65,10 +65,12 @@ class Analytics:
|
|||||||
if not log_file.exists():
|
if not log_file.exists():
|
||||||
return
|
return
|
||||||
|
|
||||||
|
commit_info = self.constants.commit_info[0].split("/")[-1] + "_" + self.constants.commit_info[1].split("T")[0] + "_" + self.constants.commit_info[2].split("/")[-1]
|
||||||
|
|
||||||
crash_data= {
|
crash_data= {
|
||||||
"KEY": SITE_KEY,
|
"KEY": SITE_KEY,
|
||||||
"APPLICATION_VERSION": self.version,
|
"APPLICATION_VERSION": self.version,
|
||||||
"APPLICATION_COMMIT": self.constants.commit_info[2].split("/")[-1],
|
"APPLICATION_COMMIT": commit_info,
|
||||||
"OS_VERSION": self.os,
|
"OS_VERSION": self.os,
|
||||||
"MODEL": self.model,
|
"MODEL": self.model,
|
||||||
"TIMESTAMP": self.date,
|
"TIMESTAMP": self.date,
|
||||||
|
|||||||
Reference in New Issue
Block a user