mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-31 00:48:47 +08:00
docs: Chapter 3 of the Klondike game tutorial (#1515)
This commit is contained in:
@ -138,7 +138,7 @@ class FlutterAppDirective(SphinxDirective):
|
||||
)
|
||||
if not need_compiling:
|
||||
return
|
||||
self.logger.info('Compiling Flutter app ' + self.app_name)
|
||||
self.logger.info('Compiling Flutter app [%s]' % self.app_name)
|
||||
self._compile_source()
|
||||
self._copy_compiled()
|
||||
self._create_index_html()
|
||||
@ -150,7 +150,7 @@ class FlutterAppDirective(SphinxDirective):
|
||||
def _compile_source(self):
|
||||
try:
|
||||
subprocess.run(
|
||||
['flutter', 'build', 'web', '--web-renderer', 'html'],
|
||||
['flutter', 'build', 'web'],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
cwd=self.source_dir,
|
||||
|
||||
Reference in New Issue
Block a user