Skip to content

Commit

Permalink
docs: Added drivers to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenM committed Dec 24, 2018
1 parent 7577d4b commit 34347db
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,17 @@ My Personal Hackintosh Build
* SMCSuperIO - v1.0.2
* USBInjectAll - v0.7.1
* VirtualSMC - v1.0.2
* WhateverGreen - v1.2.5
* WhateverGreen - v1.2.5

### Drivers
* ApfsDriverLoader-64
* AppleImageLoader-64
* AptioInputFix-64
* AptioMemoryFix-64
* DataHubDxe-64
* FSInject-64
* Fat-64
* HFSPlus-64
* PartitionDxe-64
* UsbKbDxe-64
* VirtualSmc
5 changes: 4 additions & 1 deletion readme-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ My Personal Hackintosh Build


### Kexts
$kexts
$kexts

### Drivers
$drivers
10 changes: 7 additions & 3 deletions report.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ def get_kext(kext_path):

def main():

paths = Path().rglob('*.kext')
kexts = list(map(get_kext, paths))
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])
mark = {
'kexts': "\n".join(kexts)
'kexts': "\n".join(kexts),
'drivers': "\n".join(drivers),
}
template = Path('readme-template.md')
source = template.open('r')
Expand Down

0 comments on commit 34347db

Please sign in to comment.