🔧 chore(install): update install script - use git repo URL and adjust install dir/packages
This commit is contained in:
1 file changed
+4
-5
+4
-5
@@ -17,8 +17,8 @@ set -e # Exit immediately if a command exits with a non-zero status
|
|||||||
set -u # Treat unset variables as an error
|
set -u # Treat unset variables as an error
|
||||||
set -o pipefail # Prevent errors in a pipeline from being masked
|
set -o pipefail # Prevent errors in a pipeline from being masked
|
||||||
|
|
||||||
REPO_URL="https://github.com/S4NKALP/Modus"
|
REPO_URL="https://github.com/S4NKALP/Modus.git"
|
||||||
INSTALL_DIR="$HOME/Modus"
|
INSTALL_DIR="$HOME/.config/Modus"
|
||||||
|
|
||||||
PACKAGES=(
|
PACKAGES=(
|
||||||
fabric-cli-git
|
fabric-cli-git
|
||||||
@@ -127,11 +127,10 @@ else
|
|||||||
echo "All required packages are up-to-date."
|
echo "All required packages are up-to-date."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
python "$INSTALL_DIR/config/config.py"
|
python "$INSTALL_DIR/config/config.py"
|
||||||
echo "Starting Modus..."
|
echo "Starting Modus..."
|
||||||
killall modus 2>/dev/null || true
|
killall modus 2>/dev/null || true
|
||||||
uwsm app -- python "$INSTALL_DIR/main.py" > /dev/null 2>&1 & disown
|
uwsm app -- python "$INSTALL_DIR/main.py" >/dev/null 2>&1 &
|
||||||
|
disown
|
||||||
|
|
||||||
echo "Installation complete!"
|
echo "Installation complete!"
|
||||||
Reference in new issue
Block a user