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