Skip to content
This repository was archived by the owner on Jan 25, 2026. It is now read-only.

Commit d564513

Browse files
committed
chore: 调整部分 Core 文件结构
1 parent 2cfb90c commit d564513

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

PCL.Core.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@
198198
<Compile Include="UI\GrayProfileConfig.cs" />
199199
<Compile Include="UI\MainWindowService.cs" />
200200
<Compile Include="UI\MsgBoxWrapper.cs" />
201+
<Compile Include="Update\Diff\BsDiff.cs" />
202+
<Compile Include="Update\Diff\IBinaryDiff.cs" />
203+
<Compile Include="Update\SemVer.cs" />
204+
<Compile Include="Update\UpdateHelper.cs" />
205+
<Compile Include="Update\UpdateService.cs" />
206+
<Compile Include="Update\VersionRange.cs" />
201207
<Compile Include="Utils\AnyType.cs" />
202208
<Compile Include="Utils\ArgumentsBuilder.cs" />
203209
<Compile Include="Utils\AtomicVariable.cs" />
@@ -208,18 +214,12 @@
208214
<Compile Include="Utils\Hash\SHA256Provider.cs" />
209215
<Compile Include="Utils\Hash\SHA512Provider.cs" />
210216
<Compile Include="Utils\StringStream.cs" />
211-
<Compile Include="VersionControl\BsDiff.cs" />
212217
<Compile Include="VersionControl\FileVersionObjects.cs" />
213218
<Compile Include="VersionControl\FileVersionObjectsComparer.cs" />
214-
<Compile Include="VersionControl\IBinaryDiff.cs" />
215219
<Compile Include="VersionControl\IVersionControl.cs" />
216220
<Compile Include="VersionControl\ObjectType.cs" />
217-
<Compile Include="VersionControl\SemVer.cs" />
218221
<Compile Include="VersionControl\SnapLiteVersionControl.cs" />
219-
<Compile Include="VersionControl\UpdateHelper.cs" />
220-
<Compile Include="VersionControl\UpdateService.cs" />
221222
<Compile Include="VersionControl\VersionData.cs" />
222-
<Compile Include="VersionControl\VersionRange.cs" />
223223
</ItemGroup>
224224
<ItemGroup>
225225
<COMReference Include="IWshRuntimeLibrary">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ POSSIBILITY OF SUCH DAMAGE.
5252
using System.Threading.Tasks;
5353
using ICSharpCode.SharpZipLib.BZip2;
5454

55-
namespace PCL.Core.VersionControl;
55+
namespace PCL.Core.Update.Diff;
5656

5757

5858
public class BsDiff : IBinaryDiff
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Threading.Tasks;
22

3-
namespace PCL.Core.VersionControl;
3+
namespace PCL.Core.Update.Diff;
44

55
public interface IBinaryDiff
66
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Text.RegularExpressions;
33

4-
namespace PCL.Core.VersionControl;
4+
namespace PCL.Core.Update;
55

66
[Serializable]
77
public class SemVer(int major, int minor, int patch, string? prerelease = null, string? buildMetadata = null)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.IO;
33
using System.Threading;
44

5-
namespace PCL.Core.VersionControl;
5+
namespace PCL.Core.Update;
66

77
public static class UpdateHelper
88
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using PCL.Core.LifecycleManagement;
66
using PCL.Core.Native;
77

8-
namespace PCL.Core.VersionControl;
8+
namespace PCL.Core.Update;
99

1010
[LifecycleService(LifecycleState.BeforeLoading)]
1111
public sealed class UpdateService : GeneralService
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace PCL.Core.VersionControl;
3+
namespace PCL.Core.Update;
44

55
public class VersionRange(Version? minVersion, Version? maxVersion)
66
{

0 commit comments

Comments
 (0)