241 if importlib.util.find_spec("pywintypes") is None: |
241 if importlib.util.find_spec("pywintypes") is None: |
242 # links were not created by install.py |
242 # links were not created by install.py |
243 return |
243 return |
244 |
244 |
245 regPath = ( |
245 regPath = ( |
246 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" |
246 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders" |
247 + "\\User Shell Folders" |
|
248 ) |
247 ) |
249 |
248 |
250 # 1. cleanup desktop links |
249 # 1. cleanup desktop links |
251 regName = "Desktop" |
250 regName = "Desktop" |
252 desktopEntry = getWinregEntry(regName, regPath) |
251 desktopEntry = getWinregEntry(regName, regPath) |