Split off path into its own arg (#3641)

This commit is contained in:
llama 2024-12-16 19:15:05 +08:00 committed by GitHub
parent f10cae8e84
commit b08b3b22c7

View file

@ -959,7 +959,7 @@ def _show_in_folder_win32(path: str) -> None:
win32gui.ShowWindow(hwnd, win32con.SW_RESTORE)
win32gui.SetForegroundWindow(hwnd)
subprocess.run(["explorer", f"/select,{path}"], check=False)
subprocess.run(["explorer", "/select,", path], check=False)
mw.progress.single_shot(500, focus_explorer)