fix some build issues

- use 'os.name' to decide between Windows/Linux build
- don't check Windows executable version number,
  since Wine fails to run the executable and causes release.sh to stop
This commit is contained in:
Mike Fährmann
2020-03-06 15:15:59 +01:00
parent 32df8d06fe
commit 402025c3c3
2 changed files with 2 additions and 8 deletions

View File

@@ -72,13 +72,6 @@ build-windows() {
sleep 5
done
sleep 2
# check exe version
OUTPUT="$(wine gallery-dl.exe --version)"
if [[ ! "${OUTPUT%?}" == "${NEWVERSION}" ]]; then
echo "exe version mismatch: ${OUTPUT} != ${NEWVERSION}"
exit 3
fi
}
sign() {