Skip to content

Commit

Permalink
Misc file cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Mar 3, 2021
1 parent b21b10d commit 4632371
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10,392 deletions.
32 changes: 0 additions & 32 deletions Info.plist

This file was deleted.

4 changes: 3 additions & 1 deletion OpenCore-Patcher.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ app = BUNDLE(exe,
icon="OC-Patcher.icns",
bundle_identifier=None,
info_plist={
"CFBundleExecutable": "MacOS/Launcher"
"CFBundleShortVersionString": "0.0.12",
"CFBundleExecutable": "MacOS/Launcher",
"NSHumanReadableCopyright": "Copyright 2020-2021 Dortania"
})
9 changes: 4 additions & 5 deletions Resources/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ def build_efi(self):
self.config = plistlib.load(Path(self.constants.plist_path).open("rb"))

# Set revision in config
self.config["#Revision"]["Build-Date"] = f"{date.today()}"
self.config["#Revision"]["OpenCore-Version"] = f"{self.constants.opencore_version} {self.constants.opencore_commit}"
self.config["#Revision"]["Build-Version"] = f"{self.constants.patcher_version} - {date.today()}"
self.config["#Revision"]["OpenCore-Version"] = f"{self.constants.opencore_version} - {self.constants.opencore_commit}"
self.config["#Revision"]["Original-Model"] = self.model
self.config["#Revision"]["Patcher-Version"] = self.constants.patcher_version
#self.config["#Revision"]["Patcher-Version"] = self.constants.patcher_version

for name, version, path, check in [
# Essential kexts
Expand Down Expand Up @@ -228,11 +228,10 @@ def set_smbios(self):
print("- Spoofing to MacPro7,1")
spoofed_model = "MacPro7,1"
spoofed_board = "Mac-27AD2F918AE68F61"
self.config["#Revision"]["Spoofed-Model"] = spoofed_model
macserial_output = subprocess.run([self.constants.macserial_path] + f"-g -m {spoofed_model} -n 1".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
macserial_output = macserial_output.stdout.decode().strip().split(" | ")



# Setup menu
smbios_mod = True
while smbios_mod == True:
Expand Down
4 changes: 1 addition & 3 deletions payloads/Config/v0.6.7/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
<dict>
<key>#Revision</key>
<dict>
<key>Build-Date</key>
<key>Build-Version</key>
<string></string>
<key>OpenCore-Version</key>
<string></string>
<key>Original-Model</key>
<string></string>
<key>Patcher-Version</key>
<string></string>
</dict>
<key>ACPI</key>
<dict>
Expand Down
Loading

0 comments on commit 4632371

Please sign in to comment.