Skip to content

Commit 643898a

Browse files
committed
增加版本号
1 parent 7813fbc commit 643898a

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using System.Reflection;
22

33
[assembly: AssemblyCompany("MaiChartManager")]
4-
[assembly: AssemblyFileVersion("1.0.1.0")]
5-
[assembly: AssemblyInformationalVersion("1.0.1")]
4+
[assembly: AssemblyFileVersion("1.0.2.0")]
5+
[assembly: AssemblyInformationalVersion("1.0.2")]
66
[assembly: AssemblyProduct("MaiChartManager")]
77
[assembly: AssemblyTitle("MaiChartManager")]
8-
[assembly: AssemblyVersion("1.0.1.0")]
8+
[assembly: AssemblyVersion("1.0.2.0")]
99
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows10.0")]
1010
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]

MaiChartManager/StaticSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ private void GetGameVersion()
179179
}
180180
catch (Exception e)
181181
{
182-
_logger.LogError(e, "Get game version failed.");
183-
SentrySdk.CaptureEvent(new SentryEvent(e) { Message = @"无法获取游戏版本号,可能是因为 A000\DataConfig.xml 找不到或者有错误" });
182+
_logger.LogError(e, @"无法获取游戏版本号,可能是因为 A000\DataConfig.xml 找不到或者有错误");
183+
SentrySdk.CaptureException(e);
184184
MessageBox.Show(@"无法获取游戏版本号,可能是因为 A000\DataConfig.xml 找不到或者有错误", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
185185
}
186186
}

Packaging/Pack/AppxManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:uap4="http://schemas.microsoft.com/appx/manifest/uap/windows10/4"
88
IgnorableNamespaces="win32dependencies"
99
>
10-
<Identity Name="22369479C5405.MaiChartManager" Publisher="CN=86A51452-7790-46C3-9A4B-1207C2C97940" Version="1.0.1.0"
10+
<Identity Name="22369479C5405.MaiChartManager" Publisher="CN=86A51452-7790-46C3-9A4B-1207C2C97940" Version="1.0.2.0"
1111
ProcessorArchitecture="x64" />
1212
<Properties>
1313
<DisplayName>MaiChartManager</DisplayName>

Packaging/make.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
cd %~dp0
12
del .\*.appx
23

4+
pushd ..\MaiChartManager\Front
5+
call pnpm build
6+
popd
7+
38
pushd ..
49
msbuild /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
510
popd

0 commit comments

Comments
 (0)