20 Create Desktop and Start Menu links. |
20 Create Desktop and Start Menu links. |
21 |
21 |
22 @param argv list of command line arguments |
22 @param argv list of command line arguments |
23 @type list of str |
23 @type list of str |
24 """ |
24 """ |
25 regPath = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" + \ |
25 regPath = ( |
26 "\\User Shell Folders" |
26 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" + |
|
27 "\\User Shell Folders" |
|
28 ) |
27 |
29 |
28 # 1. create desktop shortcuts |
30 # 1. create desktop shortcuts |
29 regName = "Desktop" |
31 regName = "Desktop" |
30 desktopFolder = os.path.normpath( |
32 desktopFolder = os.path.normpath( |
31 os.path.expandvars(getWinregEntry(regName, regPath))) |
33 os.path.expandvars(getWinregEntry(regName, regPath))) |