From 24294b9095d9b1a3c10258a4b9a363be75a8f583 Mon Sep 17 00:00:00 2001 From: Alexander Griffith Date: Wed, 16 Mar 2022 20:45:46 -0400 Subject: [PATCH] -t and -c now bind to the appropriate colour in love-js.sh --- buildtools/love-js/love-js.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildtools/love-js/love-js.sh b/buildtools/love-js/love-js.sh index 180297f..c2e575a 100755 --- a/buildtools/love-js/love-js.sh +++ b/buildtools/love-js/love-js.sh @@ -68,7 +68,6 @@ height=600 release="compat" love_version="11.4" canvas_colour="54,69,79" -page_colour=$canvas_colour text_colour="240,234,214" initial_memory=0 module_size=$(du -b $love_file | awk '{print $1}') @@ -94,10 +93,10 @@ case $i in -h=*|--height=*) height="${i#*=}" ;; - -c=*|--text-colour=*) + -t=*|--text-colour=*) text_colour="${i#*=}" ;; - -t=*|--canvas-colour=*) + -c=*|--canvas-colour=*) canvas_colour="${i#*=}" ;; -a=*|--author=*) @@ -121,6 +120,7 @@ case $i in esac done +page_colour=$canvas_colour file_name=$output_dir/$name$dash_version-web