Skip to content

Commit 275600e

Browse files
author
Bin Zhang
authored
Merge pull request #364 from hylthink/v3
fix: Interrupt to compile when cocos package prompted user to update
2 parents ad50771 + 4907432 commit 275600e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version":"v3-console-13",
3-
"zip_file_size":"42886494",
3+
"zip_file_size":"42887049",
44
"repo_name":"console-binary",
55
"repo_parent":"https://github.com/natural-law/"
66
}

plugins/plugin_compile/build_android.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def do_build_apk(self, build_mode, no_apk, output_dir, custom_step_args, compile
499499
else:
500500
path = os.path.realpath(os.path.dirname(__file__))
501501
path = os.path.join(path, '../plugin_package/cocospackage')
502-
cmd = '%s encrypt -p %s --runincocos --runinbuild' % (path, self.app_android_root)
502+
cmd = '%s encrypt -p %s --runincocos --runinbuild --noupdate' % (path, self.app_android_root)
503503
self._run_cmd(cmd)
504504
except:
505505
pass

plugins/plugin_compile/project_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def build_ios(self):
648648
else:
649649
path = os.path.realpath(os.path.dirname(__file__))
650650
path = os.path.join(path, '../plugin_package/cocospackage')
651-
cmd = '%s encrypt -p %s --platform ios --runincocos --runinbuild' % (path, self._project.get_project_dir())
651+
cmd = '%s encrypt -p %s --platform ios --runincocos --runinbuild --noupdate' % (path, self._project.get_project_dir())
652652
self._run_cmd(cmd)
653653
except:
654654
pass

0 commit comments

Comments
 (0)