Skip to content

Commit

Permalink
docs: Added README and generator, Updated Scores
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenM committed Dec 24, 2018
1 parent 88b3969 commit 7577d4b
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Hackintosh-7700k-R9_390-iGPU

My Personal Hackintosh Build

### Main Specs
* **Processor:** Intel i7-7700k Processor
* **GPU:** MSI R9 390
* **Motherboard:** Asus STRIX Z270-E
* **RAM:** 32GB DDR4 G.Skill Ripjaws V Series
* [Full List Here](https://pcpartpicker.com/user/BradenMars/saved/#view=97ydXL)


### Features
* iGPU Enabled
* Multi-Monitor with iGPU powering secondary
* VirtualSMC
* Hardware Acceleration Enabled
* 240hz and 144hz Display


### Kexts
* AppleALC - v1.3.3
* HibernationFixup - v1.2.4
* Lilu - v1.2.9
* NullCPUPowerManagement - v1.0.0d2
* SMCBatteryManager - v1.0
* SMCLightSensor - v1.0
* SMCProcessor - v1.0.2
* SMCSuperIO - v1.0.2
* USBInjectAll - v0.7.1
* VirtualSMC - v1.0.2
* WhateverGreen - v1.2.5
Binary file added compute_score.pdf
Binary file not shown.
Binary file added cpu_score.pdf
Binary file not shown.
22 changes: 22 additions & 0 deletions readme-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Hackintosh-7700k-R9_390-iGPU

My Personal Hackintosh Build

### Main Specs
* **Processor:** Intel i7-7700k Processor
* **GPU:** MSI R9 390
* **Motherboard:** Asus STRIX Z270-E
* **RAM:** 32GB DDR4 G.Skill Ripjaws V Series
* [Full List Here](https://pcpartpicker.com/user/BradenMars/saved/#view=97ydXL)


### Features
* iGPU Enabled
* Multi-Monitor with iGPU powering secondary
* VirtualSMC
* Hardware Acceleration Enabled
* 240hz and 144hz Display


### Kexts
$kexts
36 changes: 36 additions & 0 deletions report.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env python3

import plistlib
from pathlib import Path
from pprint import pprint
from string import Template


def get_kext(kext_path):
name = kext_path.stem
meta = kext_path / 'Contents' / 'Info.plist'
with meta.open('rb') as file:
meta = plistlib.load(file)
kext = f"* {name} - v{meta['CFBundleShortVersionString']}"
return kext


def main():

paths = Path().rglob('*.kext')
kexts = list(map(get_kext, paths))
kexts = sorted(kexts)
mark = {
'kexts': "\n".join(kexts)
}
template = Path('readme-template.md')
source = template.open('r')
template = Template(source.read())
output = template.substitute(mark)
readme = Path('README.md')
with readme.open('w+') as readme:
readme.write(output)


if __name__ == '__main__':
main()

0 comments on commit 7577d4b

Please sign in to comment.