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}"