MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / invoke_bin

Method invoke_bin

source/MaaAdbControlUnit/Invoke/InvokeApp.cpp:187–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187std::shared_ptr<ChildPipeIOStream> InvokeApp::invoke_bin(const std::string& extra)
188{
189 LogFunc << VAR(extra);
190
191 merge_replacement({ { "{BIN_WORKING_FILE}", tempname_ }, { "{BIN_EXTRA_PARAMS}", extra } });
192
193 auto argv_opt = invoke_bin_argv_.gen(argv_replace_);
194 if (!argv_opt) {
195 return nullptr;
196 }
197
198 return std::make_shared<ChildPipeIOStream>(argv_opt->exec, argv_opt->args);
199}
200
201std::shared_ptr<ChildPipeIOStream> InvokeApp::invoke_app(const std::string& package)
202{

Callers 4

connect_and_checkMethod · 0.80
invoke_and_read_infoMethod · 0.80
init_minitouchMethod · 0.80
reinvoke_minitouchMethod · 0.80

Calls 1

genMethod · 0.80

Tested by

no test coverage detected