From: Art Cancro Date: Wed, 7 Jul 2021 21:22:30 +0000 (-0400) Subject: add the ability to run the client from the appimage X-Git-Tag: v939~41^2~5 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=a84c6373b7ac54fa2dd25f1fb6a079b3741da2f7;hp=0e1c5fb91c45cb36a2d89615196a62c74f6c320c add the ability to run the client from the appimage --- diff --git a/appimage/citadel.AppDir/AppRun b/appimage/citadel.AppDir/AppRun index 70f00b920..5766ff2e5 100755 --- a/appimage/citadel.AppDir/AppRun +++ b/appimage/citadel.AppDir/AppRun @@ -23,7 +23,7 @@ ulimit -c unlimited usage() { echo ${APPIMAGE}: usage: ${APPIMAGE} '[-h data_directory] [-p http_port] [-s https_port] command' - echo 'command must be one of: run, test, install, database_cleanup, migrate' + echo 'command must be one of: run, test, install, client, database_cleanup, migrate' exit 2 } @@ -194,6 +194,9 @@ case ${1} in install) installation ;; + client) + exec $APPDIR/usr/bin/citadel + ;; database_cleanup) export LD_LIBRARY_PATH=$APPDIR/usr/lib export PATH=$APPDIR/usr/bin:$PATH