Remove duplicated code in Linux updater
This commit is contained in:
parent
fbb22ebd3e
commit
1b26448ae0
1 changed files with 0 additions and 6 deletions
|
|
@ -504,12 +504,6 @@ int main(int argc, char *argv[]) {
|
|||
push("-workdir");
|
||||
push(workdir);
|
||||
}
|
||||
|
||||
auto args = vector<char*>();
|
||||
for (auto &arg : values) {
|
||||
args.push_back(arg.data());
|
||||
}
|
||||
args.push_back(nullptr);
|
||||
|
||||
if (!useEnvApi) push("-no-env-api");
|
||||
if (customApiId && customApiHash) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue