Update ios.py
This commit is contained in:
parent
8bd0d5e145
commit
dbef11b7ae
1 changed files with 2 additions and 2 deletions
|
@ -98,13 +98,13 @@ class TargetIos(Target):
|
|||
if not self.buildozer.file_exists(ios_dir):
|
||||
if custom_kivy_ios:
|
||||
cmd('mkdir -p "{}"'.format(ios_dir))
|
||||
cmd('cp -r "{}"/* "{}"/'.format(custom_kivy_ios, ios_dir))
|
||||
cmd('cp -a "{}"/* "{}"/'.format(custom_kivy_ios, ios_dir))
|
||||
else:
|
||||
cmd('git clone https://github.com/kivy/kivy-ios',
|
||||
cwd=self.buildozer.platform_dir)
|
||||
elif self.platform_update:
|
||||
if custom_kivy_ios:
|
||||
cmd('cp -r "{}"/* "{}"/'.format(custom_kivy_ios, ios_dir))
|
||||
cmd('cp -a "{}"/* "{}"/'.format(custom_kivy_ios, ios_dir))
|
||||
else:
|
||||
cmd('git clean -dxf', cwd=ios_dir)
|
||||
cmd('git pull origin master', cwd=ios_dir)
|
||||
|
|
Loading…
Reference in a new issue