Skip to content

Commit

Permalink
gui_main.py: Revert app mover
Browse files Browse the repository at this point in the history
Further testing required
  • Loading branch information
khronokernel committed Nov 21, 2022
1 parent 23c0759 commit 1627f26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions gui/gui_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ def check_for_updates(self, event=None):
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):

Expand Down
2 changes: 2 additions & 0 deletions resources/sys_patch/sys_patch_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def install_auto_patcher_launch_agent(self):
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():
Expand Down

0 comments on commit 1627f26

Please sign in to comment.