@@ -203,15 +203,16 @@ rm -Rf Kivy3.dmg
203203sed -i ' ' " s;3.5.0;$PYTHON_VERSION ;g" create-osx-bundle.sh
204204sed -i ' ' " s;python3.5;$PYTHON_EXEC_VERSION ;g" create-osx-bundle.sh
205205sed -i ' ' " s;rm {};rm -f {};g" create-osx-bundle.sh
206+
206207./create-osx-bundle.sh ${kivyVersion} ${PYTHON_VERSION}
208+
207209# Repair symlink
208210pushd Kivy.app/Contents/Resources/venv/bin/
209211rm ./python3
210212ln -s ../../../Frameworks/python/$PYTHON_VERSION /bin/python3 .
211213popd
212214
213215# Go into kivy sdk directory and fix the script package_app.py to use the specified python version.
214- pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
215216sed -i ' ' " s;3.5.0;$PYTHON_VERSION ;g" package_app.py
216217# Make it python3 compatible by removing decode(...) calls.
217218sed -i ' ' " s;\.decode('utf-8');;g" package_app.py
@@ -228,6 +229,7 @@ buildozer osx debug
228229# THIN APP #
229230# ###########
230231
232+ pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
231233# remove unnecessary libs, such as the 141M GStreamer framework
232234rm -rf " ${APP_NAME} .app/Contents/Frameworks/GStreamer.framework"
233235
@@ -239,8 +241,8 @@ rm -rf "${APP_NAME}.app/Contents/Frameworks/GStreamer.framework"
239241./create-osx-dmg.sh " ${APP_NAME} .app"
240242
241243# create the dist dir for our result to be uploaded as an artifact
242- mkdir dist
243- cp " ${APP_NAME} .dmg" dist/
244+ mkdir ../../../../../ dist
245+ cp " ${APP_NAME} .dmg" ../../../../../ dist/
244246
245247# ######################
246248# OUTPUT VERSION INFO #
0 commit comments