summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/line_count.sh2
-rwxr-xr-xscripts/random.sh32
2 files changed, 0 insertions, 34 deletions
diff --git a/scripts/line_count.sh b/scripts/line_count.sh
deleted file mode 100755
index dbc74af..0000000
--- a/scripts/line_count.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-find ./src -type f | xargs wc -l
diff --git a/scripts/random.sh b/scripts/random.sh
deleted file mode 100755
index 446a4a4..0000000
--- a/scripts/random.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-#cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-
-WALLPAPERS_PATH=workshop_wallpapers_11-8-21
-BUILD_DIR=build-release
-
-export mesa_glthread=true
-
-if [[ $1 == "audio" ]]
-then
- while : ; do
- DIR=$(find $WALLPAPERS_PATH -maxdepth 1 -type d | shuf -n 1)
- RES=$(cat $DIR/project.json | jq '.["general"]["supportsaudioprocessing"]')
- [[ "$RES" == 'null' || "$RES" == 'false' ]] || break
- done
-elif [[ $1 == "safe" ]]
-then
- while : ; do
- DIR=$(find $WALLPAPERS_PATH -maxdepth 1 -type d | shuf -n 1)
- RES=$(cat $DIR/project.json | jq '.["contentrating"]')
- [[ "$RES" == 'null' || "$RES" != '"Everyone"' ]] || break
- done
-else
- DIR=$(find $WALLPAPERS_PATH -maxdepth 1 -type d | shuf -n 1)
-fi
-
-echo $DIR
-
-cd $BUILD_DIR
-./mauri ../$DIR/scene.pkg
-cd ..