We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18a99b8 + 44e4a8b commit dab32b7Copy full SHA for dab32b7
pythonforandroid/bootstraps/sdl2/build/build.py
@@ -232,6 +232,7 @@ def make_package(args):
232
# Delete the old assets.
233
try_unlink('src/main/assets/public.mp3')
234
try_unlink('src/main/assets/private.mp3')
235
+ ensure_dir('src/main/assets')
236
237
# In order to speedup import and initial depack,
238
# construct a python27.zip
@@ -257,6 +258,7 @@ def make_package(args):
257
258
# Prepare some variables for templating process
259
default_icon = 'templates/kivy-icon.png'
260
default_presplash = 'templates/kivy-presplash.jpg'
261
+ ensure_dir('src/main/res/drawable')
262
shutil.copy(args.icon or default_icon, 'src/main/res/drawable/icon.png')
263
shutil.copy(args.presplash or default_presplash,
264
'src/main/res/drawable/presplash.jpg')
0 commit comments