Skip to content

Commit 061588a

Browse files
committed
多条更新内容:
更改更新功能获取文件的正则表达式 准备v2.8.7-pre3的发布
1 parent e7880c6 commit 061588a

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

TimedPower/DataCore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal static string Alias {
2626
}
2727

2828
internal const string name = "TimedPower";
29-
public const string version = "2.8.7.20250131-pre2";
29+
public const string version = "2.8.7.20250201-pre3";
3030
public static string ShortVersion {
3131
get {
3232
string[] v = version.Split('.');

TimedPower/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ async void ProgramUpdate(bool isAuto = false) {
477477
UpdateFromGithub.CheckUpdateValue cuv = await ufg.CheckUpdateAsync();
478478
#pragma warning disable IDE0079
479479
#pragma warning disable SYSLIB1045
480-
UpdateFromGithub.InfoOfDownloadFile iodf = await ufg.GetDownloadFileInfoAsync(fileRegex: new(@".+"));
480+
UpdateFromGithub.InfoOfDownloadFile iodf = await ufg.GetDownloadFileInfoAsync(fileRegex: new(@".+\.7z"));
481481
#pragma warning restore SYSLIB1045
482482
#pragma warning restore IDE0079
483483
if (cuv.HaveUpdate) {

TimedPower/TimedPower.csproj

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,21 @@
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1010
<ApplicationIcon>TimedPower_logo.ico</ApplicationIcon>
1111

12-
<AssemblyTitle>定时电源操作工具</AssemblyTitle>
13-
<Company>Hgnim</Company>
12+
<Authors>Hgnim</Authors>
13+
<Company>$(Authors)</Company>
14+
<Owners>$(Authors)</Owners>
15+
<Copyright>Copyright (C) 2024-2025 $(Authors), All rights reserved.</Copyright>
1416
<Product>TimedPower</Product>
17+
<Title>定时电源操作工具</Title>
18+
<AssemblyTitle>$(Title)</AssemblyTitle>
1519
<Description>定时电源</Description>
16-
<Copyright>Copyright (C) 2024-2025 Hgnim, All rights reserved.</Copyright>
1720
<AssemblyName>定时电源</AssemblyName>
1821

22+
1923
<AssemblyVersion>2.8.7</AssemblyVersion>
20-
<FileVersion>2.8.7.0131</FileVersion>
21-
<VersionPrefix>2.8.7.20250131</VersionPrefix>
22-
<VersionSuffix>pre2</VersionSuffix>
24+
<FileVersion>2.8.7.0201</FileVersion>
25+
<VersionPrefix>2.8.7.20250201</VersionPrefix>
26+
<VersionSuffix>pre3</VersionSuffix>
2327
</PropertyGroup>
2428

2529
<ItemGroup>

0 commit comments

Comments
 (0)