Skip to content

Commit 97fe6a0

Browse files
committed
attempting to fix the last build's Info.plist xml issue by removing the line that removed the unicode decode line from package_app.py for some reason per this:
* kivy/buildozer#494 (comment)
1 parent a719a44 commit 97fe6a0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build/mac/buildDmg.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,14 @@ ln -s ../../../Frameworks/python/$PYTHON_VERSION/bin/python3 .
218218
popd
219219

220220
# Go into kivy sdk directory and fix the script package_app.py to use the specified python version.
221+
cp package_app.py pakage_app.py.orig
222+
echo "===package_app.py======================================================="
223+
cat package_app.py
224+
echo "===package_app.py======================================================="
221225
sed -i '' "s;3.5.0;$PYTHON_VERSION;g" package_app.py
222-
# Make it python3 compatible by removing decode(...) calls.
223-
sed -i '' "s;\.decode('utf-8');;g" package_app.py
226+
## Make it python3 compatible by removing decode(...) calls.
227+
#sed -i '' "s;\.decode('utf-8');;g" package_app.py
228+
diff package_app.py.orig package_app.py
224229
popd
225230

226231
#############

0 commit comments

Comments
 (0)