Skip to content

Commit

Permalink
多条更新内容:
Browse files Browse the repository at this point in the history
更改更新功能获取文件的正则表达式
准备v2.8.7-pre3的发布
  • Loading branch information
Hgnim committed Feb 1, 2025
1 parent e7880c6 commit 061588a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion TimedPower/DataCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal static string Alias {
}

internal const string name = "TimedPower";
public const string version = "2.8.7.20250131-pre2";
public const string version = "2.8.7.20250201-pre3";
public static string ShortVersion {
get {
string[] v = version.Split('.');
Expand Down
2 changes: 1 addition & 1 deletion TimedPower/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ async void ProgramUpdate(bool isAuto = false) {
UpdateFromGithub.CheckUpdateValue cuv = await ufg.CheckUpdateAsync();
#pragma warning disable IDE0079
#pragma warning disable SYSLIB1045
UpdateFromGithub.InfoOfDownloadFile iodf = await ufg.GetDownloadFileInfoAsync(fileRegex: new(@".+"));
UpdateFromGithub.InfoOfDownloadFile iodf = await ufg.GetDownloadFileInfoAsync(fileRegex: new(@".+\.7z"));
#pragma warning restore SYSLIB1045
#pragma warning restore IDE0079
if (cuv.HaveUpdate) {
Expand Down
16 changes: 10 additions & 6 deletions TimedPower/TimedPower.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ApplicationIcon>TimedPower_logo.ico</ApplicationIcon>

<AssemblyTitle>定时电源操作工具</AssemblyTitle>
<Company>Hgnim</Company>
<Authors>Hgnim</Authors>
<Company>$(Authors)</Company>
<Owners>$(Authors)</Owners>
<Copyright>Copyright (C) 2024-2025 $(Authors), All rights reserved.</Copyright>
<Product>TimedPower</Product>
<Title>定时电源操作工具</Title>
<AssemblyTitle>$(Title)</AssemblyTitle>
<Description>定时电源</Description>
<Copyright>Copyright (C) 2024-2025 Hgnim, All rights reserved.</Copyright>
<AssemblyName>定时电源</AssemblyName>


<AssemblyVersion>2.8.7</AssemblyVersion>
<FileVersion>2.8.7.0131</FileVersion>
<VersionPrefix>2.8.7.20250131</VersionPrefix>
<VersionSuffix>pre2</VersionSuffix>
<FileVersion>2.8.7.0201</FileVersion>
<VersionPrefix>2.8.7.20250201</VersionPrefix>
<VersionSuffix>pre3</VersionSuffix>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 061588a

Please sign in to comment.