From 8744f67f84349c63739003f4b49090de1f1fc99b Mon Sep 17 00:00:00 2001 From: Ione 15 <> Date: Sun, 16 Jun 2024 20:10:47 +0200 Subject: [PATCH] forgot variable --- spectacle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectacle.sh b/spectacle.sh index 1c5fe3e..b295281 100755 --- a/spectacle.sh +++ b/spectacle.sh @@ -4,7 +4,7 @@ script_dir="$(dirname "$(realpath "$0")")" #DONOTMODIFY UPLOAD_SCRIPT_PATH="${script_dir}/plasma_upload.sh" #Only modify if you changed the upload script name or path spectacle -rbn -o $TEMP_IMAGE_PATH -if [ -f /tmp/ion.png ]; then +if [ -f $TEMP_IMAGE_PATH ]; then cjpegli -d 0 --chroma_subsampling=444 $TEMP_IMAGE_PATH $TEMP_IMAGE_PATH.jpeg #oxipng -s -o max $TEMP_IMAGE_PATH #cjpeg -optimize -progressive -quality 100 $TEMP_IMAGE_PATH > $TEMP_IMAGE_PATH.jpeg