Upgrade System.Commandline
This commit is contained in:
parent
3ddc958e0b
commit
f9b56c91af
|
@ -13,7 +13,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.2" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20427.1" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20574.7" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -30,13 +30,13 @@ namespace UpTool_build_tool
|
|||
"This indicates that your program supports multiple platforms natively and doesn't require WINE")
|
||||
};
|
||||
build.Handler =
|
||||
CommandHandler.Create((Action<string, string, string, string, string, bool, bool, bool>) Build);
|
||||
CommandHandler.Create((Action<string?, string, string, string, string, bool, bool, bool>) Build);
|
||||
rootCommand.AddCommand(build);
|
||||
return rootCommand.InvokeAsync(args).Result;
|
||||
}
|
||||
|
||||
private static void Build(string binDir, string mainBin, string packageFile, string postInstall,
|
||||
string postRemove, bool noLogo, bool noShortcuts, bool noWine)
|
||||
private static void Build(string? binDir, string? mainBin, string? packageFile, string? postInstall,
|
||||
string? postRemove, bool noLogo, bool noShortcuts, bool noWine)
|
||||
{
|
||||
Stopwatch watch = Stopwatch.StartNew();
|
||||
if (!noLogo)
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CC-Functions.Core" Version="1.1.7628.34181" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20427.1" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20574.7" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -19,9 +19,6 @@
|
|||
<ItemGroup>
|
||||
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CC-Functions.Core" Version="1.1.7628.34181" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\UpToolLib\UpToolLib.csproj" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.2" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20427.1" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20574.7" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -6,8 +6,4 @@
|
|||
<AssemblyVersion>1.0.*</AssemblyVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CC-Functions.Core" Version="1.1.7628.34181" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Reference in New Issue
Block a user