Skip to content

Commit 095921d

Browse files
committed
Fixed SDL2 references in webview bootstrap init
1 parent a034b4b commit 095921d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pythonforandroid/bootstraps/webview/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
import glob
55
import sh
66

7-
class SDL2Bootstrap(Bootstrap):
8-
name = 'sdl2'
7+
class WebViewBootstrap(Bootstrap):
8+
name = 'webview'
99

1010
recipe_depends = ['webviewjni', ('python2', 'python3crystax')]
1111

1212
def run_distribute(self):
1313
info_main('# Creating Android project from build and {} bootstrap'.format(
1414
self.name))
1515

16-
info('This currently just copies the SDL2 build stuff straight from the build dir.')
1716
shprint(sh.rm, '-rf', self.dist_dir)
1817
shprint(sh.cp, '-r', self.build_dir, self.dist_dir)
1918
with current_directory(self.dist_dir):
@@ -115,6 +114,6 @@ def run_distribute(self):
115114

116115
self.strip_libraries(arch)
117116
self.fry_eggs(site_packages_dir)
118-
super(SDL2Bootstrap, self).run_distribute()
117+
super(WebViewBootstrap, self).run_distribute()
119118

120-
bootstrap = SDL2Bootstrap()
119+
bootstrap = WebViewBootstrap()

0 commit comments

Comments
 (0)