0
0
mirror of https://github.com/netdata/netdata.git synced 2024-11-21 15:28:05 +00:00
netdata_netdata/packaging/windows/win-build-dir.sh
Austin S. Hemmelgarn 6cb5e58f60
Update CI to generate MSI installer for Windows using WiX. (#18914)
* Update CI to generate MSI installer for Windows using WiX.

* Fix missing option for WiX install.

* Copy icon file alongside WiX sources.

* Run WiX in the build directory instead of CWD.
2024-11-01 12:06:13 -04:00

17 lines
397 B
Bash

#!/bin/bash
if [ -n "${BUILD_DIR}" ]; then
build="$(cygpath -u "${BUILD_DIR}")"
elif [ -n "${OSTYPE}" ]; then
if [ -n "${MSYSTEM}" ]; then
build="${REPO_ROOT}/build-${OSTYPE}-${MSYSTEM}"
else
build="${REPO_ROOT}/build-${OSTYPE}"
fi
elif [ "$USER" = "vk" ]; then
build="${REPO_ROOT}/build"
else
# shellcheck disable=SC2034
build="${REPO_ROOT}/build"
fi