From f6e3e646b6f6dafbbdb9a103910df905d4a4c271 Mon Sep 17 00:00:00 2001 From: Kyattsukuro Date: Thu, 19 Mar 2026 22:41:44 +0100 Subject: [PATCH] fix install and run --- install.sh | 2 +- run.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 08cb30e..f7e7f41 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ mkdir -p $TARGET_DIR git clone git@git.urmel.de:Kyattsukuro/fledermaus.git "$TARGET_DIR" python -m venv $TARGET_DIR/.venv source $TARGET_DIR/.venv/bin/activate -pip install -r $TARGET_DIR/requirements.txt +$HOME/.venv/bin/pip install -r $TARGET_DIR/requirements.txt mkdir -p $HOME/.local/share/bin/ diff --git a/run.sh b/run.sh index d26757b..55c6e4f 100755 --- a/run.sh +++ b/run.sh @@ -3,4 +3,5 @@ SCRIPT_DIR="$HOME/.config/fledermaus-formatter" cd $SCRIPT_DIR -python __init__.py $@ \ No newline at end of file +source $SCRIPT_DIR/.venv/bin/activate +$SCRIPT_DIR/.venv/bin/python __init__.py $@ \ No newline at end of file