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

Method chmod

source/MaaAdbControlUnit/Invoke/InvokeApp.cpp:125–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125bool InvokeApp::chmod()
126{
127 LogFunc;
128
129 merge_replacement({ { "{BIN_WORKING_FILE}", tempname_ } });
130
131 auto argv_opt = chmod_bin_argv_.gen(argv_replace_);
132 if (!argv_opt) {
133 return false;
134 }
135
136 auto output_opt = startup_and_read_pipe(*argv_opt);
137 if (!output_opt) {
138 return false;
139 }
140
141 return true;
142}
143
144bool InvokeApp::remove()
145{

Callers 3

init_binaryMethod · 0.80
push_minitouchMethod · 0.80
initMethod · 0.80

Calls 1

genMethod · 0.80

Tested by

no test coverage detected