way

让其不扫描D盘

@@ -141,7 +141,8 @@ def _ensure_windows_gtk_paths(): @@ -141,7 +141,8 @@ def _ensure_windows_gtk_paths():
141 ] 141 ]
142 142
143 # 常见自定义安装位置(其他盘符 / DevelopSoftware 目录) 143 # 常见自定义安装位置(其他盘符 / DevelopSoftware 目录)
144 - common_drives = ["C", "D", "E", "F"] 144 + # common_drives = ["C", "D", "E", "F"]
  145 + common_drives = ["C", "E", "F"]
145 common_names = ["GTK3-Runtime Win64", "GTK3-Runtime Win32", "GTK3-Runtime"] 146 common_names = ["GTK3-Runtime Win64", "GTK3-Runtime Win32", "GTK3-Runtime"]
146 for drive in common_drives: 147 for drive in common_drives:
147 root = Path(f"{drive}:/") 148 root = Path(f"{drive}:/")