fix(launcher): harden installer transactions
This commit is contained in:
parent
ff6ebb6a6a
commit
3f68895120
21 changed files with 1164 additions and 61 deletions
|
|
@ -15,7 +15,15 @@ internal static class BakeCommandLine
|
|||
internal const string Usage =
|
||||
"usage: acdream-bake --dat-dir <path> [--out <file>] "
|
||||
+ "[--ids 0xId,0xId,...] [--landblocks 0xId,...] "
|
||||
+ "[--threads <n>] [--progress-json]";
|
||||
+ "[--threads <n>] [--progress-json]\n"
|
||||
+ " acdream-bake --help";
|
||||
|
||||
public static bool IsHelpRequest(IReadOnlyList<string> args)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(args);
|
||||
return args.Count == 1
|
||||
&& args[0] is "--help" or "-h";
|
||||
}
|
||||
|
||||
public static bool TryParse(
|
||||
IReadOnlyList<string> args,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue