eric6/eric6_post_install.py

changeset 7257
c4d0cac9b5c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7256:4ef3b78ebb4e 7257:c4d0cac9b5c9
21 21
22 def createWindowsLinks(): 22 def createWindowsLinks():
23 """ 23 """
24 Create Desktop and Start Menu links. 24 Create Desktop and Start Menu links.
25 """ 25 """
26 regPath = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" + \ 26 regPath = (
27 "\\User Shell Folders" 27 "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer" +
28 "\\User Shell Folders"
29 )
28 30
29 # 1. create desktop shortcuts 31 # 1. create desktop shortcuts
30 regName = "Desktop" 32 regName = "Desktop"
31 desktopFolder = os.path.normpath( 33 desktopFolder = os.path.normpath(
32 os.path.expandvars(getWinregEntry(regName, regPath))) 34 os.path.expandvars(getWinregEntry(regName, regPath)))

eric ide

mercurial