From e82eebca916a351f53cda7ffb7c70664b0e251dd Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Mon, 11 Aug 2025 12:37:39 -0300 Subject: [PATCH] :boom: fix(scripts/release): wrong gresource target --- scripts/release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index e0b8bbf..34b5f06 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,7 +1,6 @@ set -e outdir="./build/release" -gresource_file='$XDG_LOCAL_HOME/colorshell/resources.gresource' # send literal variable name, so it's interpreted in the shell rather than in the build while getopts o:r:h args; do case "$args" in @@ -16,7 +15,7 @@ while getopts o:r:h args; do colorshell's automated release-build script. options: - -r \$file: gresource's target path (shell-only, file is kept in \$output. default: \$XDG_LOCAL_HOME/colorshell/resources.gresource) + -r \$file: gresource's target path (shell-only, file is kept in \$output. default: \$XDG_DATA_HOME/colorshell/resources.gresource) -o \$path: build output path (default: \`./build/release\`) -h: show this help message" exit 0 @@ -24,4 +23,5 @@ options: esac done -pnpm build -o "${outdir:-./build/release}" -b -r "${gresource_file:-\$XDG_LOCAL_HOME/colorshell/resources.gresource}" +# send literal variable name, so it's interpreted in the shell rather than in the build +pnpm build -o "${outdir:-./build/release}" -b -r "${gresource_file:-\$XDG_DATA_HOME/colorshell/resources.gresource}"