[*] Linux hack: drop arg[0] when the string contains ld-Aurora
This commit is contained in:
parent
bd034aec31
commit
05737d61fe
@ -63,6 +63,14 @@ namespace Aurora::CmdLine
|
|||||||
args.push_back(last);
|
args.push_back(last);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args.size())
|
||||||
|
{
|
||||||
|
if (AuStringContains(args[0], "ld-Aurora"))
|
||||||
|
{
|
||||||
|
args.erase(args.begin());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return args;
|
return args;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user