Skip to content

Commit 9906a40

Browse files
committed
polish
1 parent b03d434 commit 9906a40

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build/mac/buildDmg.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ fi
161161
# create and enter our new dir for buildozer
162162
mkdir buildozer
163163
cp requirements.txt buildozer/
164+
165+
# hack to fix "ERROR: You must give at least one requirement to install"
166+
echo "pip" >> buildozer/requirements.txt
167+
164168
pushd buildozer
165169

166170
# create buildozer.spec file
@@ -230,8 +234,8 @@ buildozer osx debug
230234
# THIN APP #
231235
############
232236

233-
pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
234237
# remove unnecessary libs, such as the 141M GStreamer framework
238+
pushd .buildozer/osx/platform/kivy-sdk-packager-master/osx
235239
rm -rf "${APP_NAME}.app/Contents/Frameworks/GStreamer.framework"
236240

237241
#############
@@ -244,6 +248,8 @@ rm -rf "${APP_NAME}.app/Contents/Frameworks/GStreamer.framework"
244248
# create the dist dir for our result to be uploaded as an artifact
245249
mkdir ../../../../../dist
246250
cp "${APP_NAME}.dmg" ../../../../../dist/
251+
popd
252+
pwd
247253

248254
#######################
249255
# OUTPUT VERSION INFO #

0 commit comments

Comments
 (0)