mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
Misc file cleanup
This commit is contained in:
32
Info.plist
32
Info.plist
@@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>OpenCore-Patcher.command</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>OC-Patcher.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.dortania.OpenCore-Patcher</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>0.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>OpenCore-Patcher</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.0</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.4</string>
|
||||
<key>LSMultipleInstancesProhibited</key>
|
||||
<true/>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright 2021 Dortania</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -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"
|
||||
})
|
||||
|
||||
@@ -66,10 +66,10 @@ class BuildOpenCore:
|
||||
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
|
||||
@@ -228,11 +228,10 @@ class BuildOpenCore:
|
||||
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:
|
||||
|
||||
@@ -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>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user