From f89efa2558b17162f4319b582933080044a2b93b Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Tue, 7 Apr 2026 16:48:31 -0700 Subject: [PATCH] build: flatten file structure in release archives (#615) Before: ``` .\spice2x\spice.exe .\spice2x\spicecfg.exe .\spice2x\spice64.exe .\spice2x\stubs\.. .\spice2x\extras\.. ``` after: ``` .\spice.exe .\spicecfg.exe .\spice64.exe .\stubs\.. .\extras\.. ``` --- src/spice2x/build_all.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spice2x/build_all.sh b/src/spice2x/build_all.sh index 13e39ec..d40c6a8 100755 --- a/src/spice2x/build_all.sh +++ b/src/spice2x/build_all.sh @@ -334,10 +334,10 @@ then echo "Building dist..." mkdir -p ${DIST_FOLDER} rm -rf "${DIST_FOLDER}/${DIST_NAME}" - pushd ${OUTDIR}/.. > /dev/null - zip -qrXT9 "$OLDPWD/${DIST_FOLDER}/${DIST_NAME}" spice2x -x "spice2x/extras/*" -z <<< "$DIST_COMMENT" + pushd ${OUTDIR} > /dev/null + zip -qrXT9 "$OLDPWD/${DIST_FOLDER}/${DIST_NAME}" . -x "extras/*" -z <<< "$DIST_COMMENT" echo "Building extras..." - zip -qrXT9 "$OLDPWD/${DIST_FOLDER}/${DIST_NAME_EXTRAS}" spice2x -z <<< "$DIST_COMMENT" + zip -qrXT9 "$OLDPWD/${DIST_FOLDER}/${DIST_NAME_EXTRAS}" . -z <<< "$DIST_COMMENT" popd > /dev/null fi