From ef78a60971a62ddf4cc75dec747382b046ca2c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Mon, 9 Dec 2024 20:34:02 +0100 Subject: [PATCH] Move pack-universal-win.sh to desktop/scripts/ --- build.sh | 2 +- {scripts => desktop/scripts}/pack-universal-win.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {scripts => desktop/scripts}/pack-universal-win.sh (98%) diff --git a/build.sh b/build.sh index 8a51a48f92fb..7d2bce9d511e 100755 --- a/build.sh +++ b/build.sh @@ -392,7 +392,7 @@ if [[ "$UNIVERSAL" == "true" && "$(uname -s)" == "MINGW"* ]]; then if [[ "$OPTIMIZE" == "true" ]]; then WIN_PACK_ARGS+=(--optimize) fi - ./scripts/pack-universal-win.sh \ + ./desktop/scripts/pack-universal-win.sh \ --x64-installer "$SCRIPT_DIR/dist/"*"$PRODUCT_VERSION"_x64.exe \ --arm64-installer "$SCRIPT_DIR/dist/"*"$PRODUCT_VERSION"_arm64.exe \ "${WIN_PACK_ARGS[@]}" diff --git a/scripts/pack-universal-win.sh b/desktop/scripts/pack-universal-win.sh similarity index 98% rename from scripts/pack-universal-win.sh rename to desktop/scripts/pack-universal-win.sh index 453b7220110a..b3144f27ddb1 100644 --- a/scripts/pack-universal-win.sh +++ b/desktop/scripts/pack-universal-win.sh @@ -5,7 +5,7 @@ set -eu SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd "$SCRIPT_DIR/.." +cd "$SCRIPT_DIR/../.." CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-"target"}