os.symlink(launcherPath, link_path)\r
\r
link_path = os.path.join(profile_dir, 'salome')\r
- if not os.path.exists(link_path):\r
- try:\r
- os.symlink(launcherPath, link_path)\r
- except OSError:\r
- os.remove(link_path)\r
- os.symlink(launcherPath, link_path)
+ relativeLauncherPath = "../../salome"\r
+ try:\r
+ os.symlink(relativeLauncherPath, link_path)\r
+ except OSError:\r
+ os.remove(link_path)\r
+ os.symlink(relativeLauncherPath, link_path)
\r
##################################################\r
\r