diff --git a/docs/Android.md b/docs/Android.md index 9e94c040..f606cdb0 100644 --- a/docs/Android.md +++ b/docs/Android.md @@ -28,7 +28,7 @@ search "how to enable android debugging on device-model-and-brand" ```bash cd ~/KlipperScreen/scripts -cp android-adb.sh launch_KlipperScreen.sh +cp sample-android-adb.sh launch_KlipperScreen.sh chmod +x launch_KlipperScreen.sh ``` diff --git a/scripts/crop_images.sh b/scripts/crop_images.sh deleted file mode 100755 index 5908e71e..00000000 --- a/scripts/crop_images.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" -IMGDIR=$SCRIPTPATH/../docs/img - -for file in $IMGDIR/* -do - res=$(identify $file | cut -d ' ' -f 3) - if [ "$res" != "1532x898" ]; then - echo "Converting $file" - convert $file -crop 1532x898+2+48 $file - fi -done diff --git a/scripts/android-adb.sh b/scripts/sample-android-adb.sh similarity index 100% rename from scripts/android-adb.sh rename to scripts/sample-android-adb.sh diff --git a/scripts/launch_klipperscreen.sh.EXAMPLE b/scripts/sample-launch_klipperscreen.sh old mode 100755 new mode 100644 similarity index 100% rename from scripts/launch_klipperscreen.sh.EXAMPLE rename to scripts/sample-launch_klipperscreen.sh diff --git a/scripts/update-python-venv.sh b/scripts/update-python-venv.sh deleted file mode 100755 index 67a7b12b..00000000 --- a/scripts/update-python-venv.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" -KSPATH=$(sed 's/\/scripts//g' <<< $SCRIPTPATH) -KSENV="${HOME}/.KlipperScreen-env" - -update_virtualenv() -{ - echo "Creating virtual environment" - [ ! -d ${KSENV} ] && virtualenv -p /usr/bin/python3 ${KSENV} - - ${KSENV}/bin/pip install -r ${KSPATH}/scripts/KlipperScreen-requirements.txt - ${KSENV}/bin/pip install --no-binary ":all" "vext.gi==0.7.4" - ${KSENV}/bin/vext -e -} - -update_virtualenv