FIXED Linux installer fails if invoked with relative, local user path
@@ -93,7 +93,7 @@ def try_to_refresh_desktop_and_menus(menu_dir):
if len(sys.argv) == 1:
parent_dir = os.path.expanduser("~/apps")
elif len(sys.argv) == 2:
- parent_dir = os.path.expanduser(sys.argv[1].strip().rstrip("/"))
+ parent_dir = os.path.abspath(os.path.expanduser(sys.argv[1].strip().rstrip("/")))
else:
print("Installer should be run with 0 or 1 arguments", file=sys.stderr)
exit(1)
