Remove unused imports

This commit is contained in:
Mykola Grymalyuk
2024-07-21 13:53:52 -06:00
parent ae423888d7
commit 8d88fbbfa4
12 changed files with 3 additions and 21 deletions

View File

@@ -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

View File

@@ -5,7 +5,6 @@ import subprocess
from pathlib import Path
from opencore_legacy_patcher import constants
from opencore_legacy_patcher.support import subprocess_wrapper

View File

@@ -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

View File

@@ -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):

View File

@@ -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

View File

@@ -18,8 +18,7 @@ from .. import constants
from . import (
analytics_handler,
global_settings,
subprocess_wrapper
global_settings
)

View File

@@ -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

View File

@@ -11,9 +11,6 @@ import requests
import markdown2
import threading
import webbrowser
import subprocess
from pathlib import Path
from .. import constants

View File

@@ -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,

View File

@@ -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,

View File

@@ -2,7 +2,6 @@
gui_sys_patch_display.py: Display root patching menu
"""
import os
import wx
import logging
import plistlib

View File

@@ -6,7 +6,6 @@ import wx
import sys
import time
import logging
import datetime
import threading
import subprocess