mirror of
https://github.com/netdata/netdata.git
synced 2024-11-21 15:28:05 +00:00
6cb5e58f60
* 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.
17 lines
397 B
Bash
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
|