diff --git a/scripts/package-osx.sh b/scripts/package-osx.sh index a922fa646..14fa02045 100644 --- a/scripts/package-osx.sh +++ b/scripts/package-osx.sh @@ -6,6 +6,6 @@ cat version.yml python3 -m PyInstaller -y --clean --windowed dist_assets/mac/pyfa.spec cd dist zip -r "pyfa-$PYFA_VERSION-mac.zip" pyfa.app -gtimeout 300 curl --upload-file "pyfa-$PYFA_VERSION-mac.zip" https://transfer.sh/ || echo 'upload to transfer.sh failed' +curl --connect-timeout 30 --max-time 300 --upload-file "pyfa-$PYFA_VERSION-mac.zip" https://transfer.sh/ || echo 'upload to transfer.sh failed' echo -e "\n" md5 -r "pyfa-$PYFA_VERSION-mac.zip"