win_installer: need root python for create_launcher.py

This commit is contained in:
Eric Le Lay 2018-07-28 22:07:42 +02:00
parent c39c564f44
commit da847a8334
1 changed files with 5 additions and 2 deletions

View File

@ -58,8 +58,10 @@ function build_compileall {
}
function install_pre_deps {
# install python3 here to ensure same version
pacman -S --needed --noconfirm p7zip git dos2unix rsync \
mingw-w64-"${ARCH}"-nsis wget intltool mingw-w64-"${ARCH}"-toolchain
mingw-w64-"${ARCH}"-nsis wget intltool mingw-w64-"${ARCH}"-toolchain \
mingw-w64-"${ARCH}"-python3
}
function create_root {
@ -146,7 +148,8 @@ function install_gpodder {
fi
# Create launchers
build_python "${MISC}"/create-launcher.py \
echo "python3 is $(which python3) version is $(python3 --version)"
python3 "${MISC}"/create-launcher.py \
"${GPO_VERSION}" "${MINGW_ROOT}"/bin
# install fake dbus