mirror of
https://github.com/netdata/netdata.git
synced 2025-03-16 22:13:38 +00:00

* 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.
16 lines
397 B
Bash
16 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
|