mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 13:27:24 +00:00
update cmakelists
This commit is contained in:
@@ -91,6 +91,7 @@ add_custom_command(
|
||||
${FLUTTER_TOOL_ENVIRONMENT}
|
||||
"${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
|
||||
windows-x64 $<CONFIG>
|
||||
VERBATIM
|
||||
)
|
||||
add_custom_target(flutter_assemble DEPENDS
|
||||
"${FLUTTER_LIBRARY}"
|
||||
|
@@ -253,7 +253,7 @@ class IsolateQjs {
|
||||
'port': evaluatePort.sendPort,
|
||||
});
|
||||
var result = await evaluatePort.first;
|
||||
if (result['data'] != null)
|
||||
if (result['error'] == null)
|
||||
return _decodeData(result['data'], sendPort);
|
||||
else
|
||||
throw result['error'];
|
||||
|
Reference in New Issue
Block a user