XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.WinUIHelper

【DLL】WinUI的各种工具类,帮助开发者快速构建一个模块化的WinUI项目

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFEExtension.NetCore.WinUIHelper

修复了AppPathHelper里面关于获取应用当前版本号的bug

d312eb8
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

2 个文件 +5 -5
Modified XFEExtension.NetCore.WinUIHelper/Utilities/Helper/AppPathHelper.cs +1 -1
@@ -26,7 +26,7 @@ public partial class AppPathHelper
26 26 /// 应用程序本地当前版本路径
27 27 /// </summary>
28 28 [AutoPath]
29 private static readonly string appLocalVersionData = @$"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\{ApplicationName}\Versions\{(Assembly.GetExecutingAssembly()?.GetName()?.Version?.ToString() ?? "UnknownVersion")}";
29 private static readonly string appLocalVersionData = @$"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\{ApplicationName}\Versions\{(Assembly.GetEntryAssembly() ?? Assembly.GetCallingAssembly()).GetName()?.Version?.ToString() ?? "UnknownVersion"}";
30 30 /// <summary>
31 31 /// 应用程序缓存路径
32 32 /// </summary>
Modified XFEExtension.NetCore.WinUIHelper/XFEExtension.NetCore.WinUIHelper.csproj +4 -4
@@ -9,7 +9,7 @@
9 9 <Nullable>enable</Nullable>
10 10 <GenerateDocumentationFile>True</GenerateDocumentationFile>
11 11 <Title>XFEExtension.NetCore.WinUIHelper</Title>
12 <Version>1.2.2</Version>
12 <Version>1.2.3</Version>
13 13 <Authors>XFEstudio</Authors>
14 14 <PackageIcon>logoIcon.png</PackageIcon>
15 15 <Description>WinUI的各种工具类,帮助开发者快速构建一个模块化的WinUI项目</Description>
@@ -17,8 +17,8 @@
17 17 <NeutralLanguage>zh-CN</NeutralLanguage>
18 18 <PackageReadmeFile>README.md</PackageReadmeFile>
19 19 <PackageReleaseNotes>
20 添加IWebView服务
21 </PackageReleaseNotes>
20 修复了AppPathHelper里面关于获取应用当前版本号的bug
21 </PackageReleaseNotes>
22 22 <PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
23 23 <PackageProjectUrl>https://github.com/XFEstudio/XFEExtension.NetCore.WinUIHelper</PackageProjectUrl>
24 24 <RepositoryUrl>https://github.com/XFEstudio/XFEExtension.NetCore.WinUIHelper.git</RepositoryUrl>
@@ -43,7 +43,7 @@
43 43 <ItemGroup>
44 44 <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
45 45 <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250310001" />
46 <PackageReference Include="XFEExtension.NetCore" Version="3.3.2" />
46 <PackageReference Include="XFEExtension.NetCore" Version="3.3.*" />
47 47 <PackageReference Include="XFEExtension.NetCore.AutoPath" Version="1.0.1" />
48 48 </ItemGroup>
49 49 <ItemGroup>