scripts/uninstall.py

branch
eric7
changeset 10261
fa560567d555
parent 10091
ac6edcfe7831
child 10264
f06151820839
equal deleted inserted replaced
10260:43528a30213a 10261:fa560567d555
22 progName = None 22 progName = None
23 currDir = os.getcwd() 23 currDir = os.getcwd()
24 pyModDir = None 24 pyModDir = None
25 progLanguages = ["MicroPython", "Python3", "QSS"] 25 progLanguages = ["MicroPython", "Python3", "QSS"]
26 defaultMacAppBundleName = "eric7.app" 26 defaultMacAppBundleName = "eric7.app"
27 defaultMacAppBundlePath = "/Applications" 27 if os.getuid() == 0:
28 defaultMacAppBundlePath = "/Applications"
29 else:
30 defaultMacAppBundlePath = os.path.expanduser("~/Applications")
28 settingsNameOrganization = "Eric7" 31 settingsNameOrganization = "Eric7"
29 settingsNameGlobal = "eric7" 32 settingsNameGlobal = "eric7"
30 33
31 34
32 def exit(rcode=0): 35 def exit(rcode=0):

eric ide

mercurial