Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: Updated README, Added Clover Version
  • Loading branch information
BradenM committed Mar 15, 2019
1 parent 9dc0f52 commit 9e7e62b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -3,6 +3,7 @@
My Personal Hackintosh Build

**Current MacOS**: Mojave (v10.14)
**Clover Version**: 2.4k r4895

### Main Specs
* **Processor:** Intel i7-7700k Processor
Expand All @@ -22,12 +23,12 @@ My Personal Hackintosh Build

### Kexts
* AHCI_Intel_Generic_SATA - v0.4
* AppleALC - v1.3.4
* AppleALC - v1.3.5
* CodecCommander - v2.7.1
* GenericUSBXHCI - v1.2.11
* HibernationFixup - v1.2.4
* IntelMausiEthernet - v2.4.0
* Lilu - v1.3.1
* Lilu - v1.3.4
* NullCPUPowerManagement - v1.0.0d2
* SMCProcessor - v1.0.2
* SMCSuperIO - v1.0.2
Expand All @@ -42,6 +43,7 @@ My Personal Hackintosh Build
* AppleImageLoader-64
* AptioInputFix-64
* AptioMemoryFix-64
* AudioDxe-64
* DataHubDxe-64
* FSInject-64
* Fat-64
Expand Down
Binary file modified cpu_score.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions readme-template.md
Expand Up @@ -3,6 +3,7 @@
My Personal Hackintosh Build

**Current MacOS**: Mojave (v10.14)
**Clover Version**: $clover

### Main Specs
* **Processor:** Intel i7-7700k Processor
Expand Down
12 changes: 11 additions & 1 deletion report.py
Expand Up @@ -15,17 +15,27 @@ def get_kext(kext_path):
return kext


def main():
def get_clover(log_path):
with log_path.open("r") as f:
version_line = f.readlines()[2:3][0]
version = version_line.lstrip("Installer version:")
version = version.rstrip("EFI bootloader\n")
return version


def main():
kext_paths = Path().rglob('*.kext')
kexts = list(map(get_kext, kext_paths))
kexts = sorted(kexts)
driver_paths = Path().cwd() / 'EFI' / 'CLOVER' / 'drivers64UEFI'
drivers = driver_paths.glob('*.efi')
drivers = sorted([f"* {d.stem}" for d in drivers])
clover_log = Path().cwd() / 'EFI' / 'Clover_Install_Log.txt'
clover_version = get_clover(clover_log)
mark = {
'kexts': "\n".join(kexts),
'drivers': "\n".join(drivers),
'clover': clover_version
}
template = Path('readme-template.md')
source = template.open('r')
Expand Down

0 comments on commit 9e7e62b

Please sign in to comment.