From a84c6373b7ac54fa2dd25f1fb6a079b3741da2f7 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 7 Jul 2021 17:22:30 -0400 Subject: [PATCH] add the ability to run the client from the appimage --- appimage/citadel.AppDir/AppRun | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2