refactor(gui): 清理 gui_core 中已不再直接用的 8 个 import (518 → 508)
This commit is contained in:
1 parent
a1562a513d
commit
e7d848023c
1 file changed
-10
@@ -17,15 +17,6 @@ from PIL import ImageTk # type: ignore[import]
|
||||
from gui.gui_core import (
|
||||
RunParams,
|
||||
Runner,
|
||||
find_adb_executable,
|
||||
list_adb_devices,
|
||||
enable_wifi_adb,
|
||||
connect_wifi_adb,
|
||||
disconnect_wifi_adb,
|
||||
get_device_ip,
|
||||
auto_connect_wifi_adb,
|
||||
is_device_wifi_connected,
|
||||
get_connected_wifi_devices,
|
||||
read_config,
|
||||
write_config,
|
||||
)
|
||||
@@ -212,7 +203,6 @@ def main():
|
||||
top = ttk.Frame(root)
|
||||
top.pack(fill=X, padx=12, pady=10)
|
||||
|
||||
adb_exe = find_adb_executable()
|
||||
_top_bar = setup_top_device_bar(top, root=root, on_line=on_line)
|
||||
device_var = _top_bar.device_var
|
||||
refresh_devices = _top_bar.refresh_devices
|
||||
|
||||
Reference in new issue
Block a user