Solved CQtDeployer - change script to restart app
-
Hi,
My CQTDeployer generated script to run my app like below:
BASE_DIR=$(dirname "$(readlink -f "$0")") export PATH="$BASE_DIR"/bin/:$PATH export LD_LIBRARY_PATH="$BASE_DIR"/lib/:"$BASE_DIR":$LD_LIBRARY_PATH export QML_IMPORT_PATH="$BASE_DIR"/qml/:$QML_IMPORT_PATH export QML2_IMPORT_PATH="$BASE_DIR"/qml/:$QML2_IMPORT_PATH export QT_PLUGIN_PATH="$BASE_DIR"/plugins/:$QT_PLUGIN_PATH export QTWEBENGINEPROCESS_PATH="$BASE_DIR"/bin//QtWebEngineProcess export QTDIR="$BASE_DIR" export CQT_PKG_ROOT="$BASE_DIR" export CQT_CLOSE_FILE="$BASE_DIR/TestApp.sh" export CQT_RUN_FILE="$BASE_DIR/TestApp.sh" export QT_QPA_PLATFORM_PLUGIN_PATH="$BASE_DIR"/plugins//platforms:$QT_QPA_PLATFORM_PLUGIN_PATH "$BASE_DIR/bin/TestApp" "$@"
How rewrite this script that to next run this script it restart my app -- not open second window ?
-
Find pid of any running TestApp and kill it first before each launch
-
Find pid of any running TestApp and kill it first before each launch
-