sys_patch_helpers: Add Commit URL to patch file

This commit is contained in:
Mykola Grymalyuk
2022-09-02 09:45:08 -06:00
parent 530c0f49b9
commit dcd581345a
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -56,6 +56,7 @@ class sys_patch_helpers:
"OpenCore Legacy Patcher": f"v{self.constants.patcher_version}",
"PatcherSupportPkg": f"v{self.constants.patcher_support_pkg_version}",
"Time Patched": f"{datetime.now().strftime('%B %d, %Y @ %H:%M:%S')}",
"Commit URL": f"{self.constants.commit_info[2]}"
}
data.update(patchset)
if Path(source_path_file).exists():