From d5bd34eb49f43735e240058f8875ab0bfcae4441 Mon Sep 17 00:00:00 2001 From: James Procter Date: Mon, 23 Jan 2023 20:17:42 +0000 Subject: [PATCH] JAL-4104 JAL-4102 update help docs with script to add jalview command line tool to osx path --- help/help/html/features/commandline.html | 39 ++++++++++++++++++------------ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/help/help/html/features/commandline.html b/help/help/html/features/commandline.html index 2ffe0bc..381478f 100644 --- a/help/help/html/features/commandline.html +++ b/help/help/html/features/commandline.html @@ -109,22 +109,29 @@
  • In macOS (jalview)

    -

    - We don't currently provide a macOS installer program, so you will need to add the command to you path manually. The script you should use to launch Jalview is linked to as -

    /Applications/Jalview.app/Contents/MacOS/jalview
    - so you can run that command with its full path, or make your own symbolic link to there, or add that folder to your $PATH. -

    -

    - If you cannot see the - jalview - command in the MacOS directory, then you probably have an older - Jalview installation. In that case, you should make a symbolic - link directly to the launch script with the command -

    ln -s /Applications/Jalview.app/Content/Resources/app/bin/jalview.sh jalview
    - If this doens't work, check your installation is running - Jalview 2.11.2.0 or later. -

    -
  • +

    We don't currently provide a macOS installer program, so you + will need to add the command to you path manually. The script you + should use to launch Jalview is linked to as +

    /Applications/Jalview.app/Contents/MacOS/jalview
    so you + can run that command with its full path, or make your own symbolic + link to there, or add that folder to your $PATH.
    echo /Applications/Jalview.app/Contents/Resources/app/bin | sudo tee -a /etc/paths.d/Jalview
    + This adds the directory + "/Applications/Jalview.app/Contents/Resources/app/bin/" + to a "Jalview" file in the /etc/paths.d/ directory. The + lines from all the files in this directory are added the $PATH + variable for all shells and users. +

    +

    + If you cannot see the + jalview + command in the MacOS directory, then you probably have an older + Jalview installation. In that case, you should make a symbolic link + directly to the launch script with the command +

    ln -s /Applications/Jalview.app/Content/Resources/app/bin/jalview.sh jalview
    + If this doens't work, check your installation is running + Jalview 2.11.2.0 or later. +

    +