scripts: update naming and remove unused
This commit is contained in:
parent
6cb18816e2
commit
92e899cf56
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
0
scripts/launch_klipperscreen.sh.EXAMPLE → scripts/sample-launch_klipperscreen.sh
Executable file → Normal file
0
scripts/launch_klipperscreen.sh.EXAMPLE → scripts/sample-launch_klipperscreen.sh
Executable file → Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user