20 sys.exit(1) |
20 sys.exit(1) |
21 |
21 |
22 from eric7.Globals import getConfig |
22 from eric7.Globals import getConfig |
23 |
23 |
24 |
24 |
25 def main(argv): |
25 def main(): |
26 """ |
26 """ |
27 Create Desktop and Start Menu links. |
27 Create Desktop and Start Menu links. |
28 |
|
29 @param argv list of command line arguments |
|
30 @type list of str |
|
31 """ |
28 """ |
32 if sys.platform.startswith(("win", "cygwin")): |
29 if sys.platform.startswith(("win", "cygwin")): |
33 regPath = ( |
30 regPath = ( |
34 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" |
31 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" |
35 + "\\User Shell Folders" |
32 + "\\User Shell Folders" |