gui_main.py: Revert app mover

Further testing required
This commit is contained in:
Mykola Grymalyuk
2022-11-21 08:22:40 -07:00
parent 23c0759d7a
commit 1627f264a2
3 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,6 @@
- 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)
- 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:
- AirPortBrcmFixup 2.1.6 - release
- AppleALC 1.7.6 - release

View File

@@ -312,8 +312,8 @@ class wx_python_gui:
self.constants.ignore_updates = True
print("- Ignoring App Updates due to defaults")
if did_find_update is False:
self.check_for_local_installs()
# if did_find_update is False:
# self.check_for_local_installs()
def relaunch_as_root(self, event=None):

View File

@@ -205,6 +205,8 @@ class AutomaticSysPatch:
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))
subprocess.run(["xattr", "-cr", "/Library/Application Support/Dortania/OpenCore-Patcher.app"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# Copy over our launch agent
print("- Copying auto-patch.plist Launch Agent to /Library/LaunchAgents/")
if Path("/Library/LaunchAgents/com.dortania.opencore-legacy-patcher.auto-patch.plist").exists():