From 82bf8fce8783e115c1b5f26654794bdf49c61518 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Tue, 17 Jun 2025 19:17:33 -0400 Subject: [PATCH] Adjust paths in generate_qr.sh --- src/generate_qr.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/generate_qr.sh b/src/generate_qr.sh index 7cc306f..10565ae 100755 --- a/src/generate_qr.sh +++ b/src/generate_qr.sh @@ -2,7 +2,7 @@ set -e -CONFIG="src/config.json" +CONFIG="config.json" # Ensure dependencies command -v jq >/dev/null 2>&1 || { echo "jq is required" >&2; exit 1; } @@ -21,9 +21,9 @@ tmp_tear=$(mktemp) qrencode -o "$tmp_content" -s 10 -m 0 "$url" qrencode -o "$tmp_tear" -s 10 -m 0 "$tear" -convert "$tmp_content" -resize 128x128 "src/qrcode-content.png" -convert "$tmp_tear" -resize 128x128 "src/qrcode-tear-offs.png" +convert "$tmp_content" -resize 128x128 "qrcode-content.png" +convert "$tmp_tear" -resize 128x128 "qrcode-tear-offs.png" rm -f "$tmp_content" "$tmp_tear" -echo "QR codes generated in src/" +echo "QR codes generated"