mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-11 16:27:19 +10:00
Remove unused imports
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
- Removes Gatekeeper "verifying" prompt on first launch after PKG installation
|
||||
- Note `gktool` is only available on macOS Sonoma and newer
|
||||
- Resolve unpatching crash edge case when host doesn't require patches.
|
||||
- Implement new Software Update Catalog Parser for macOS Installers
|
||||
|
||||
## 1.5.0
|
||||
- Restructure project directories
|
||||
|
||||
@@ -5,7 +5,6 @@ import subprocess
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from opencore_legacy_patcher import constants
|
||||
from opencore_legacy_patcher.support import subprocess_wrapper
|
||||
|
||||
|
||||
|
||||
@@ -7,12 +7,9 @@ This is to ensure compatibility when running without a user
|
||||
ie. during automated patching
|
||||
"""
|
||||
|
||||
import os
|
||||
import logging
|
||||
import plistlib
|
||||
|
||||
from . import subprocess_wrapper
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ install.py: Installation of OpenCore files to ESP
|
||||
import logging
|
||||
import plistlib
|
||||
import subprocess
|
||||
import applescript
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
@@ -13,8 +12,6 @@ from . import utilities, subprocess_wrapper
|
||||
|
||||
from .. import constants
|
||||
|
||||
from ..datasets import os_data
|
||||
|
||||
|
||||
class tui_disk_installation:
|
||||
def __init__(self, versions):
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
kdk_handler.py: Module for parsing and determining best Kernel Debug Kit for host OS
|
||||
"""
|
||||
|
||||
import os
|
||||
import logging
|
||||
import plistlib
|
||||
import requests
|
||||
|
||||
@@ -18,8 +18,7 @@ from .. import constants
|
||||
|
||||
from . import (
|
||||
analytics_handler,
|
||||
global_settings,
|
||||
subprocess_wrapper
|
||||
global_settings
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ subprocess_wrapper.py: Wrapper for subprocess module to better handle errors and
|
||||
Additionally handles our Privileged Helper Tool
|
||||
"""
|
||||
|
||||
import os
|
||||
import enum
|
||||
import logging
|
||||
import subprocess
|
||||
|
||||
@@ -11,9 +11,6 @@ import requests
|
||||
import markdown2
|
||||
import threading
|
||||
import webbrowser
|
||||
import subprocess
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from .. import constants
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
gui_settings.py: Settings Frame for the GUI
|
||||
"""
|
||||
|
||||
import os
|
||||
import wx
|
||||
import wx.adv
|
||||
import pprint
|
||||
@@ -24,8 +23,7 @@ from ..support import (
|
||||
global_settings,
|
||||
defaults,
|
||||
generate_smbios,
|
||||
network_handler,
|
||||
subprocess_wrapper
|
||||
network_handler
|
||||
)
|
||||
from ..datasets import (
|
||||
model_array,
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
gui_support.py: Utilities for interacting with wxPython GUI
|
||||
"""
|
||||
|
||||
import os
|
||||
import wx
|
||||
import sys
|
||||
import time
|
||||
@@ -20,7 +19,6 @@ from . import gui_about
|
||||
from .. import constants
|
||||
|
||||
from ..detections import device_probe
|
||||
from ..support import subprocess_wrapper
|
||||
|
||||
from ..datasets import (
|
||||
model_array,
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
gui_sys_patch_display.py: Display root patching menu
|
||||
"""
|
||||
|
||||
import os
|
||||
import wx
|
||||
import logging
|
||||
import plistlib
|
||||
|
||||
@@ -6,7 +6,6 @@ import wx
|
||||
import sys
|
||||
import time
|
||||
import logging
|
||||
import datetime
|
||||
import threading
|
||||
import subprocess
|
||||
|
||||
|
||||
Reference in New Issue
Block a user