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