--- a/uninstall.py Sun Apr 13 15:45:57 2014 +0200 +++ b/uninstall.py Tue Apr 15 22:41:08 2014 +0200 @@ -25,7 +25,7 @@ # Define the globals. progName = None pyModDir = None -progLanguages = ["Python", "Ruby"] +progLanguages = ["Python", "Ruby", "QSS"] def exit(rcode=0): @@ -166,8 +166,17 @@ # delete the Mac app bundle if os.path.exists("/Developer/Applications/Eric5"): shutil.rmtree("/Developer/Applications/Eric5") - if os.path.exists("/Applications/eric5.app"): - shutil.rmtree("/Applications/eric5.app") + try: + macAppBundlePath = getConfig("macAppBundlePath") + macAppBundleName = getConfig("macAppBundleName") + except AttributeError: + macAppBundlePath = "/Applications" + macAppBundleName = "eric5.app" + if os.path.exists("/Applications/" + macAppBundleName): + shutil.rmtree("/Applications/" + macAppBundleName) + bundlePath = os.path.join(macAppBundlePath, macAppBundleName) + if os.path.exists(bundlePath): + shutil.rmtree(bundlePath) def main(argv):