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 65fd461ddc
commit a0712b04e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)