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