mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 09:14:25 +08:00
feat..去除了冗余的字体文件,又修改了PLONDS系统
This commit is contained in:
@@ -3,23 +3,39 @@ namespace Plonds.Shared;
|
||||
public static class PlondsConstants
|
||||
{
|
||||
public const string ProtocolName = "PLONDS";
|
||||
public const string ProtocolVersion = "1.0";
|
||||
public const string ProtocolVersion = "2.0";
|
||||
public const string FormatVersion = "2.0";
|
||||
|
||||
public const string DefaultApiBasePath = "/api/plonds/v1";
|
||||
public const string DefaultStorageRoot = "sample-data";
|
||||
public const string DefaultMetaRoot = "meta";
|
||||
public const string DefaultRepoRoot = "repo";
|
||||
public const string DefaultInstallersRoot = "installers";
|
||||
public const string ActionAdd = "add";
|
||||
public const string ActionReplace = "replace";
|
||||
public const string ActionReuse = "reuse";
|
||||
public const string ActionDelete = "delete";
|
||||
|
||||
public const string FileObjectMode = "file-object";
|
||||
public const string CompressedObjectMode = "compressed-object";
|
||||
public const string BinaryPatchMode = "binary-patch";
|
||||
public const string CompareMethodFileCompare = "file-compare";
|
||||
public const string CompareMethodCommitAnalyze = "commit-analyze";
|
||||
|
||||
public static readonly string[] SupportedFileModes =
|
||||
public const string HashAlgorithmSha256 = "sha256";
|
||||
public const string HashAlgorithmMd5 = "md5";
|
||||
|
||||
public const string DefaultLauncherRelativePath = "LanMountainDesktop.Launcher.exe";
|
||||
|
||||
public static readonly string[] SupportedActions =
|
||||
[
|
||||
FileObjectMode,
|
||||
CompressedObjectMode,
|
||||
BinaryPatchMode
|
||||
ActionAdd,
|
||||
ActionReplace,
|
||||
ActionReuse,
|
||||
ActionDelete
|
||||
];
|
||||
|
||||
public static readonly string[] SupportedHashAlgorithms =
|
||||
[
|
||||
HashAlgorithmSha256,
|
||||
HashAlgorithmMd5
|
||||
];
|
||||
|
||||
public static readonly string[] SupportedCompareMethods =
|
||||
[
|
||||
CompareMethodFileCompare,
|
||||
CompareMethodCommitAnalyze
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user