mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 22:50:51 +10:00
gui_main.py: Revert app mover
Further testing required
This commit is contained in:
@@ -21,7 +21,6 @@
|
|||||||
- Add support for AMD GOP injection (AMDGOP.efi)
|
- Add support for AMD GOP injection (AMDGOP.efi)
|
||||||
- For MXM iMacs and Mac Pros with GPU VBIOS lacking GOP support (ie. no UEFI output even after OC loads)
|
- For MXM iMacs and Mac Pros with GPU VBIOS lacking GOP support (ie. no UEFI output even after OC loads)
|
||||||
- Hide OpenCore Boot Picker when waking from hibernation
|
- Hide OpenCore Boot Picker when waking from hibernation
|
||||||
- Automatically move newer builds of OpenCore-Patcher.app to `/Library/Application Support/Dortania` if previously installed
|
|
||||||
- Increment Binaries:
|
- Increment Binaries:
|
||||||
- AirPortBrcmFixup 2.1.6 - release
|
- AirPortBrcmFixup 2.1.6 - release
|
||||||
- AppleALC 1.7.6 - release
|
- AppleALC 1.7.6 - release
|
||||||
|
|||||||
+2
-2
@@ -312,8 +312,8 @@ class wx_python_gui:
|
|||||||
self.constants.ignore_updates = True
|
self.constants.ignore_updates = True
|
||||||
print("- Ignoring App Updates due to defaults")
|
print("- Ignoring App Updates due to defaults")
|
||||||
|
|
||||||
if did_find_update is False:
|
# if did_find_update is False:
|
||||||
self.check_for_local_installs()
|
# self.check_for_local_installs()
|
||||||
|
|
||||||
def relaunch_as_root(self, event=None):
|
def relaunch_as_root(self, event=None):
|
||||||
|
|
||||||
|
|||||||
@@ -205,6 +205,8 @@ class AutomaticSysPatch:
|
|||||||
print(f"- Renaming {path} to OpenCore-Patcher.app")
|
print(f"- Renaming {path} to OpenCore-Patcher.app")
|
||||||
utilities.process_status(utilities.elevated(["mv", f"/Library/Application Support/Dortania/{path}", "/Library/Application Support/Dortania/OpenCore-Patcher.app"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT))
|
utilities.process_status(utilities.elevated(["mv", f"/Library/Application Support/Dortania/{path}", "/Library/Application Support/Dortania/OpenCore-Patcher.app"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT))
|
||||||
|
|
||||||
|
subprocess.run(["xattr", "-cr", "/Library/Application Support/Dortania/OpenCore-Patcher.app"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
||||||
# Copy over our launch agent
|
# Copy over our launch agent
|
||||||
print("- Copying auto-patch.plist Launch Agent to /Library/LaunchAgents/")
|
print("- Copying auto-patch.plist Launch Agent to /Library/LaunchAgents/")
|
||||||
if Path("/Library/LaunchAgents/com.dortania.opencore-legacy-patcher.auto-patch.plist").exists():
|
if Path("/Library/LaunchAgents/com.dortania.opencore-legacy-patcher.auto-patch.plist").exists():
|
||||||
|
|||||||
Reference in New Issue
Block a user