diff options
| author | 2023-07-15 01:16:04 -0400 | |
|---|---|---|
| committer | 2023-07-15 01:16:04 -0400 | |
| commit | f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd (patch) | |
| tree | e9660e27896c00d7a6d57123c172b8574e1e07b6 /scripts | |
| parent | aec7b72a146f489ec1947b4915b9ade6bfc19340 (diff) | |
| download | mauri-f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd.tar.gz mauri-f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd.tar.bz2 mauri-f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd.zip | |
cleanup, finalize notes, add README.md
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/line_count.sh | 2 | ||||
| -rwxr-xr-x | scripts/random.sh | 32 |
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 .. |