Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/c#/GeneralUpdate.Bowl/Bowl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
using GeneralUpdate.Bowl.Internal;
using GeneralUpdate.Bowl.Strategies;
using GeneralUpdate.Bowl.Strategys;
using GeneralUpdate.Common.FileBasic;
using GeneralUpdate.Common.Internal.Bootstrap;
using GeneralUpdate.Common.Internal.JsonContext;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Common.Shared.Object;
using GeneralUpdate.Core.FileSystem;
using GeneralUpdate.Core.Configuration;
using GeneralUpdate.Core.JsonContext;
using GeneralUpdate.Core;
using GeneralUpdate.Core.Configuration;

namespace GeneralUpdate.Bowl;

Expand Down
72 changes: 9 additions & 63 deletions src/c#/GeneralUpdate.Bowl/GeneralUpdate.Bowl.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<LangVersion>default</LangVersion>
<Nullable>enable</Nullable>
Expand All @@ -17,81 +17,27 @@
<PackageIcon>bowl.jpeg</PackageIcon>
<TargetFrameworks>netstandard2.0;</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="10.0.1" />
<PackageReference Include="System.Text.Json" Version="10.0.1" />
<ProjectReference Include="..\GeneralUpdate.Core\GeneralUpdate.Core.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\GeneralUpdate.Common\Compress\CompressProvider.cs" Link="Common\CompressProvider.cs" />
<Compile Include="..\GeneralUpdate.Common\Compress\ICompressionStrategy.cs" Link="Common\ICompressionStrategy.cs" />
<Compile Include="..\GeneralUpdate.Common\Compress\ZipCompressionStrategy.cs" Link="Common\ZipCompressionStrategy.cs" />
<Compile Include="..\GeneralUpdate.Common\Download\DownloadManager.cs" Link="Common\DownloadManager.cs" />
<Compile Include="..\GeneralUpdate.Common\Download\DownloadTask.cs" Link="Common\DownloadTask.cs" />
<Compile Include="..\GeneralUpdate.Common\Download\MultiEventArgs\MutiAllDownloadCompletedEventArgs.cs" Link="Common\MutiAllDownloadCompletedEventArgs.cs" />
<Compile Include="..\GeneralUpdate.Common\Download\MultiEventArgs\MutiDownloadCompletedEventArgs.cs" Link="Common\MutiDownloadCompletedEventArgs.cs" />
<Compile Include="..\GeneralUpdate.Common\Download\MultiEventArgs\MutiDownloadErrorEventArgs.cs" Link="Common\MutiDownloadErrorEventArgs.cs" />
<Compile Include="..\GeneralUpdate.Common\Download\MultiEventArgs\MutiDownloadStatisticsEventArgs.cs" Link="Common\MutiDownloadStatisticsEventArgs.cs" />
<Compile Include="..\GeneralUpdate.Common\FileBasic\BlackListManager.cs" Link="Common\BlackListManager.cs" />
<Compile Include="..\GeneralUpdate.Common\FileBasic\ComparisonResult.cs" Link="Common\ComparisonResult.cs" />
<Compile Include="..\GeneralUpdate.Common\FileBasic\FileNode.cs" Link="Common\FileNode.cs" />
<Compile Include="..\GeneralUpdate.Common\FileBasic\FileTree.cs" Link="Common\FileTree.cs" />
<Compile Include="..\GeneralUpdate.Common\FileBasic\StorageManager.cs" Link="Common\StorageManager.cs" />
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\HashAlgorithmBase.cs" Link="Common\HashAlgorithmBase.cs" />
<Compile Include="..\GeneralUpdate.Common\HashAlgorithms\Sha256HashAlgorithm.cs" Link="Common\Sha256HashAlgorithm.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\AbstractBootstrap.cs" Link="Common\AbstractBootstrap.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\UpdateOption.cs" Link="Common\UpdateOption.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\UpdateOptionValue.cs" Link="Common\UpdateOptionValue.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Bootstrap\Environments.cs" Link="Common\Environments.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Event\EventManager.cs" Link="Common\EventManager.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Event\IEventManager.cs" Link="Common\IEventManager.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Exception\ExceptionEventArgs.cs" Link="Common\ExceptionEventArgs.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\FileNodesJsonContext.cs" Link="Common\FileNodesJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\GlobalConfigInfoOSSJsonContext.cs" Link="Common\GlobalConfigInfoOSSJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\HttpParameterJsonContext.cs" Link="Common\HttpParameterJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\PacketJsonContext.cs" Link="Common\PacketJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\ProcessInfoJsonContext.cs" Link="Common\ProcessInfoJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\ReportRespJsonContext.cs" Link="Common\ReportRespJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\VersionOSSJsonContext.cs" Link="Common\VersionOSSJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\JsonContext\VersionRespJsonContext.cs" Link="Common\VersionRespJsonContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Pipeline\IMiddleware.cs" Link="Common\IMiddleware.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Pipeline\PipelineBuilder.cs" Link="Common\PipelineBuilder.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Pipeline\PipelineContext.cs" Link="Common\PipelineContext.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Strategy\AbstractStrategy.cs" Link="Common\AbstractStrategy.cs" />
<Compile Include="..\GeneralUpdate.Common\Internal\Strategy\IStrategy.cs" Link="Common\IStrategy.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Configinfo.cs" Link="Common\Configinfo.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\BaseConfigInfo.cs" Link="Common\BaseConfigInfo.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\ConfigurationMapper.cs" Link="Common\ConfigurationMapper.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\DTO\BaseResponseDTO.cs" Link="Common\BaseResponseDTO.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\DTO\VersionRespDTO.cs" Link="Common\VersionRespDTO.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Enum\AppType.cs" Link="Common\AppType.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Enum\Format.cs" Link="Common\Format.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Enum\PlatformType.cs" Link="Common\PlatformType.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Enum\ReportType.cs" Link="Common\ReportType.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Enum\UpdateMode.cs" Link="Common\UpdateMode.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\GlobalConfigInfo.cs" Link="Common\GlobalConfigInfo.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\GlobalConfigInfoOSS.cs" Link="Common\GlobalConfigInfoOSS.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\ObjectTranslator.cs" Link="Common\ObjectTranslator.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Packet.cs" Link="Common\Packet.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\ProcessInfo.cs" Link="Common\ProcessInfo.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\VersionInfo.cs" Link="Common\VersionInfo.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Object\VersionOSS.cs" Link="Common\VersionOSS.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Service\VersionService.cs" Link="Common\VersionService.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Trace\GeneralTracer.cs" Link="Common\GeneralTracer.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Trace\TextTraceListener.cs" Link="Common\TextTraceListener.cs" />
<Compile Include="..\GeneralUpdate.Common\Shared\Trace\WindowsOutputDebugListener.cs" Link="Common\WindowsOutputDebugListener.cs" />
<PackageReference Include="System.Collections.Immutable" Version="10.0.1" />
<PackageReference Include="System.Text.Json" Version="10.0.1" />
</ItemGroup>

<ItemGroup>
<Content Include="Applications\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackageCopyToOutput>true</PackageCopyToOutput>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="Common\" />
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="BowlTest" />
</ItemGroup>

<ItemGroup>
<None Include="../../../imgs/bowl.jpeg">
<Pack>True</Pack>
Expand Down
4 changes: 2 additions & 2 deletions src/c#/GeneralUpdate.Bowl/Internal/CrashReporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using GeneralUpdate.Common.FileBasic;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core.FileSystem;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/c#/GeneralUpdate.Bowl/Internal/EnvironmentProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Threading;
using System.Threading.Tasks;
using GeneralUpdate.Common.Internal.Bootstrap;
using GeneralUpdate.Core.Configuration;

namespace GeneralUpdate.Bowl.Internal;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/c#/GeneralUpdate.Bowl/Strategies/LinuxBowlStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading;
using System.Threading.Tasks;
using GeneralUpdate.Bowl.Internal;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Strategies;

Expand Down
2 changes: 1 addition & 1 deletion src/c#/GeneralUpdate.Bowl/Strategies/MacBowlStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Strategies;

Expand Down
2 changes: 1 addition & 1 deletion src/c#/GeneralUpdate.Bowl/Strategies/ProcessRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Strategies;

Expand Down
4 changes: 2 additions & 2 deletions src/c#/GeneralUpdate.Bowl/Strategies/WindowsBowlStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using GeneralUpdate.Common.FileBasic;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core.FileSystem;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Strategies;

Expand Down
6 changes: 3 additions & 3 deletions src/c#/GeneralUpdate.Bowl/Strategys/AbstractStrategy.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using GeneralUpdate.Common.FileBasic;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core.FileSystem;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Strategys;

Expand Down
4 changes: 2 additions & 2 deletions src/c#/GeneralUpdate.Bowl/Strategys/LinuxStrategy.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using GeneralUpdate.Bowl.Internal;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Strategys;

Expand Down
8 changes: 4 additions & 4 deletions src/c#/GeneralUpdate.Bowl/Strategys/WindowStrategy.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using GeneralUpdate.Bowl.Internal;
using GeneralUpdate.Common.FileBasic;
using GeneralUpdate.Common.Internal.Bootstrap;
using GeneralUpdate.Common.Shared;
using GeneralUpdate.Core.FileSystem;
using GeneralUpdate.Core.Configuration;
using GeneralUpdate.Core;

namespace GeneralUpdate.Bowl.Strategys;

Expand Down
Empty file.
Loading
Loading