diff --git a/GetStoreApp/GetStoreApp.csproj b/GetStoreApp/GetStoreApp.csproj
index 667869db8..06d9ad4c6 100644
--- a/GetStoreApp/GetStoreApp.csproj
+++ b/GetStoreApp/GetStoreApp.csproj
@@ -35,7 +35,7 @@
GetStoreApp.res
false
false
- 10.0.26100.45
+ 10.0.26100.47
false
@@ -165,7 +165,7 @@
-
+
diff --git a/GetStoreApp/GetStoreApp.res b/GetStoreApp/GetStoreApp.res
index 86354e66c..8c7e23a48 100644
Binary files a/GetStoreApp/GetStoreApp.res and b/GetStoreApp/GetStoreApp.res differ
diff --git a/GetStoreApp/Properties/AssemblyInfo.cs b/GetStoreApp/Properties/AssemblyInfo.cs
index 7309f20b4..5e4748d0f 100644
--- a/GetStoreApp/Properties/AssemblyInfo.cs
+++ b/GetStoreApp/Properties/AssemblyInfo.cs
@@ -7,11 +7,11 @@
[assembly: AssemblyCompany("高怡飞")]
[assembly: AssemblyCopyright("Copyright ©2022-2024 高怡飞, All Rights Reserved.")]
[assembly: AssemblyDescription("获取商店应用")]
-[assembly: AssemblyFileVersion("5.0.1001.0")]
-[assembly: AssemblyInformationalVersion("5.0.1001.0")]
+[assembly: AssemblyFileVersion("5.1.1004.0")]
+[assembly: AssemblyInformationalVersion("5.1.1004.0")]
[assembly: AssemblyProduct("获取商店应用")]
[assembly: AssemblyTitle("获取商店应用")]
-[assembly: AssemblyVersion("5.0.1001.0")]
+[assembly: AssemblyVersion("5.1.1004.0")]
// 应用程序默认区域性的资源控制器设置
[assembly: NeutralResourcesLanguage("en-us")]
diff --git a/GetStoreApp/Views/Pages/SettingsPage.xaml.cs b/GetStoreApp/Views/Pages/SettingsPage.xaml.cs
index 5fe578e4a..be2cec3e6 100644
--- a/GetStoreApp/Views/Pages/SettingsPage.xaml.cs
+++ b/GetStoreApp/Views/Pages/SettingsPage.xaml.cs
@@ -819,7 +819,7 @@ private void OnWinGetConfigToggled(object sender, RoutedEventArgs args)
///
private void OnIsEnabledChanged(object sender, DependencyPropertyChangedEventArgs args)
{
- if (sender is ToggleSwitch toggleSwitch)
+ if (sender is ToggleSwitch)
{
AlwaysShowBackdropService.SetAlwaysShowBackdrop(false);
AlwaysShowBackdropValue = false;
diff --git a/GetStoreApp/Views/Windows/MainWindow.xaml.cs b/GetStoreApp/Views/Windows/MainWindow.xaml.cs
index ba74caf9c..977cb8835 100644
--- a/GetStoreApp/Views/Windows/MainWindow.xaml.cs
+++ b/GetStoreApp/Views/Windows/MainWindow.xaml.cs
@@ -14,6 +14,7 @@
using GetStoreApp.WindowsAPI.PInvoke.Comctl32;
using GetStoreApp.WindowsAPI.PInvoke.User32;
using GetStoreApp.WindowsAPI.PInvoke.Uxtheme;
+using Microsoft.UI;
using Microsoft.UI.Composition.SystemBackdrops;
using Microsoft.UI.Content;
using Microsoft.UI.Dispatching;
diff --git a/GetStoreAppInstaller/GetStoreAppInstaller.csproj b/GetStoreAppInstaller/GetStoreAppInstaller.csproj
index 01234a226..f1cb43dab 100644
--- a/GetStoreAppInstaller/GetStoreAppInstaller.csproj
+++ b/GetStoreAppInstaller/GetStoreAppInstaller.csproj
@@ -37,7 +37,7 @@
true
true
GetStoreAppInstaller.res
- 10.0.26100.45
+ 10.0.26100.47
false
@@ -68,7 +68,7 @@
-
+
diff --git a/GetStoreAppInstaller/GetStoreAppInstaller.res b/GetStoreAppInstaller/GetStoreAppInstaller.res
index 8f972c19d..dae77f345 100644
Binary files a/GetStoreAppInstaller/GetStoreAppInstaller.res and b/GetStoreAppInstaller/GetStoreAppInstaller.res differ
diff --git a/GetStoreAppInstaller/Program.cs b/GetStoreAppInstaller/Program.cs
index 569895d2f..09dd73113 100644
--- a/GetStoreAppInstaller/Program.cs
+++ b/GetStoreAppInstaller/Program.cs
@@ -28,7 +28,7 @@ public static void Main()
public partial class Form1 : Form
{
- WindowsXamlHost xamlHost = new WindowsXamlHost();
+ private readonly WindowsXamlHost xamlHost = new();
public Form1()
{
diff --git a/GetStoreAppInstaller/Properties/AssemblyInfo.cs b/GetStoreAppInstaller/Properties/AssemblyInfo.cs
index 027e14731..176aface0 100644
--- a/GetStoreAppInstaller/Properties/AssemblyInfo.cs
+++ b/GetStoreAppInstaller/Properties/AssemblyInfo.cs
@@ -7,11 +7,11 @@
[assembly: AssemblyCompany("高怡飞")]
[assembly: AssemblyCopyright("Copyright ©2022-2024 高怡飞, All Rights Reserved.")]
[assembly: AssemblyDescription("获取商店应用 应用安装器")]
-[assembly: AssemblyFileVersion("5.0.1001.0")]
-[assembly: AssemblyInformationalVersion("5.0.1001.0")]
+[assembly: AssemblyFileVersion("5.1.1004.0")]
+[assembly: AssemblyInformationalVersion("5.1.1004.0")]
[assembly: AssemblyProduct("获取商店应用 应用安装器")]
[assembly: AssemblyTitle("获取商店应用 应用安装器")]
-[assembly: AssemblyVersion("5.0.1001.0")]
+[assembly: AssemblyVersion("5.1.1004.0")]
// 应用程序默认区域性的资源控制器设置
[assembly: NeutralResourcesLanguage("en-us")]
diff --git a/GetStoreAppInstaller/TestPage.xaml.cs b/GetStoreAppInstaller/TestPage.xaml.cs
index 711524519..c49647827 100644
--- a/GetStoreAppInstaller/TestPage.xaml.cs
+++ b/GetStoreAppInstaller/TestPage.xaml.cs
@@ -6,11 +6,8 @@ namespace GetStoreAppInstaller
public sealed partial class MainPage : Page
{
public MainPage()
- => this.InitializeComponent();
-
- private void ClickHandler(object sender, RoutedEventArgs _)
{
- (sender as Button).Content = "Clicked";
+ InitializeComponent();
}
}
}
diff --git a/GetStoreAppInstaller/UI/Backdrop/DesktopAcrylicBackdrop.cs b/GetStoreAppInstaller/UI/Backdrop/DesktopAcrylicBackdrop.cs
index 2417b7bc3..197165bad 100644
--- a/GetStoreAppInstaller/UI/Backdrop/DesktopAcrylicBackdrop.cs
+++ b/GetStoreAppInstaller/UI/Backdrop/DesktopAcrylicBackdrop.cs
@@ -26,7 +26,6 @@ public sealed partial class DesktopAcrylicBackdrop : SystemBackdrop
private bool isInitialized;
private bool isWindowClosed;
private bool isActivated = true;
- private bool useMicaBrush;
private bool useDesktopAcrylicBackdrop;
private readonly IntPtr windowHandle;
diff --git a/GetStoreAppInstaller/WindowsAPI/ComTypes/ICompositorDesktopInterop.cs b/GetStoreAppInstaller/WindowsAPI/ComTypes/ICompositorDesktopInterop.cs
index f95166222..f32ac1aef 100644
--- a/GetStoreAppInstaller/WindowsAPI/ComTypes/ICompositorDesktopInterop.cs
+++ b/GetStoreAppInstaller/WindowsAPI/ComTypes/ICompositorDesktopInterop.cs
@@ -1,10 +1,11 @@
using System;
using System.Runtime.InteropServices;
+using System.Runtime.InteropServices.Marshalling;
namespace WindowsTools.WindowsAPI.ComTypes
{
- [ComImport, Guid("29E691FA-4567-4DCA-B319-D0F207EB6807"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
- public interface ICompositorDesktopInterop
+ [GeneratedComInterface, Guid("29E691FA-4567-4DCA-B319-D0F207EB6807"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+ public partial interface ICompositorDesktopInterop
{
[PreserveSig]
int CreateDesktopWindowTarget(IntPtr hwndTarget, [MarshalAs(UnmanagedType.Bool)] bool isTopmost, out IntPtr result);
diff --git a/GetStoreAppPackage/Package.appxmanifest b/GetStoreAppPackage/Package.appxmanifest
index 1ad05e8aa..a1d0973f6 100644
--- a/GetStoreAppPackage/Package.appxmanifest
+++ b/GetStoreAppPackage/Package.appxmanifest
@@ -13,7 +13,7 @@
+ Version="5.1.1004.0" />
ms-resource:PackageDisplayName
diff --git a/GetStoreAppShellExtension/GetStoreAppShellExtension.csproj b/GetStoreAppShellExtension/GetStoreAppShellExtension.csproj
index 8e549db59..53b0e7b6f 100644
--- a/GetStoreAppShellExtension/GetStoreAppShellExtension.csproj
+++ b/GetStoreAppShellExtension/GetStoreAppShellExtension.csproj
@@ -29,7 +29,7 @@
net9.0-windows10.0.26100.0
10.0.19041.0
true
- 10.0.26100.45
+ 10.0.26100.48
false
@@ -44,7 +44,7 @@
-
+
diff --git a/GetStoreAppShellExtension/Properties/AssemblyInfo.cs b/GetStoreAppShellExtension/Properties/AssemblyInfo.cs
index 765b7e23f..8ea6ef603 100644
--- a/GetStoreAppShellExtension/Properties/AssemblyInfo.cs
+++ b/GetStoreAppShellExtension/Properties/AssemblyInfo.cs
@@ -7,11 +7,11 @@
[assembly: AssemblyCompany("高怡飞")]
[assembly: AssemblyCopyright("Copyright ©2022-2024 高怡飞, All Rights Reserved.")]
[assembly: AssemblyDescription("获取商店应用 右键菜单扩展")]
-[assembly: AssemblyFileVersion("5.0.1001.0")]
-[assembly: AssemblyInformationalVersion("5.0.1001.0")]
+[assembly: AssemblyFileVersion("5.1.1004.0")]
+[assembly: AssemblyInformationalVersion("5.1.1004.0")]
[assembly: AssemblyProduct("获取商店应用 右键菜单扩展")]
[assembly: AssemblyTitle("获取商店应用 右键菜单扩展")]
-[assembly: AssemblyVersion("5.0.1001.0")]
+[assembly: AssemblyVersion("5.1.1004.0")]
// 应用程序默认区域性的资源控制器设置
[assembly: NeutralResourcesLanguage("en-us")]
diff --git a/GetStoreAppWebView/GetStoreAppWebView.csproj b/GetStoreAppWebView/GetStoreAppWebView.csproj
index f0933c32a..24fd3a1fc 100644
--- a/GetStoreAppWebView/GetStoreAppWebView.csproj
+++ b/GetStoreAppWebView/GetStoreAppWebView.csproj
@@ -36,7 +36,7 @@
true
true
GetStoreAppWebView.res
- 10.0.26100.45
+ 10.0.26100.48
false
@@ -68,7 +68,7 @@
-
+
diff --git a/GetStoreAppWebView/GetStoreAppWebView.res b/GetStoreAppWebView/GetStoreAppWebView.res
index e44eb1422..9c133bff5 100644
Binary files a/GetStoreAppWebView/GetStoreAppWebView.res and b/GetStoreAppWebView/GetStoreAppWebView.res differ
diff --git a/GetStoreAppWidget/GetStoreAppWidget.csproj b/GetStoreAppWidget/GetStoreAppWidget.csproj
index adbb709fc..88288f286 100644
--- a/GetStoreAppWidget/GetStoreAppWidget.csproj
+++ b/GetStoreAppWidget/GetStoreAppWidget.csproj
@@ -33,7 +33,7 @@
GetStoreAppWidget.res
false
false
- 10.0.26100.45
+ 10.0.26100.47
false
@@ -49,7 +49,7 @@
-
+
diff --git a/GetStoreAppWidget/GetStoreAppWidget.res b/GetStoreAppWidget/GetStoreAppWidget.res
index be8cc0e80..8af1b3460 100644
Binary files a/GetStoreAppWidget/GetStoreAppWidget.res and b/GetStoreAppWidget/GetStoreAppWidget.res differ
diff --git a/GetStoreAppWidget/Properties/AssemblyInfo.cs b/GetStoreAppWidget/Properties/AssemblyInfo.cs
index dab3f11ae..be39d9f98 100644
--- a/GetStoreAppWidget/Properties/AssemblyInfo.cs
+++ b/GetStoreAppWidget/Properties/AssemblyInfo.cs
@@ -7,11 +7,11 @@
[assembly: AssemblyCompany("高怡飞")]
[assembly: AssemblyCopyright("Copyright ©2022-2024 高怡飞, All Rights Reserved.")]
[assembly: AssemblyDescription("获取商店应用 小组件")]
-[assembly: AssemblyFileVersion("5.0.1001.0")]
-[assembly: AssemblyInformationalVersion("5.0.1001.0")]
+[assembly: AssemblyFileVersion("5.1.1004.0")]
+[assembly: AssemblyInformationalVersion("5.1.1004.0")]
[assembly: AssemblyProduct("获取商店应用 小组件")]
[assembly: AssemblyTitle("获取商店应用 小组件")]
-[assembly: AssemblyVersion("5.0.1001.0")]
+[assembly: AssemblyVersion("5.1.1004.0")]
// 应用程序默认区域性的资源控制器设置
[assembly: NeutralResourcesLanguage("en-us")]
diff --git a/Microsoft.Management.Deployment.Projection/Microsoft.Management.Deployment.Projection.csproj b/Microsoft.Management.Deployment.Projection/Microsoft.Management.Deployment.Projection.csproj
index 042f847da..2150aebca 100644
--- a/Microsoft.Management.Deployment.Projection/Microsoft.Management.Deployment.Projection.csproj
+++ b/Microsoft.Management.Deployment.Projection/Microsoft.Management.Deployment.Projection.csproj
@@ -28,7 +28,7 @@
net9.0-windows10.0.26100.0
10.0.19041.0
true
- 10.0.26100.45
+ 10.0.26100.48
false
@@ -49,7 +49,7 @@
-
+
diff --git a/Microsoft.Management.Deployment.Projection/Properties/AssemblyInfo.cs b/Microsoft.Management.Deployment.Projection/Properties/AssemblyInfo.cs
index 5c945ed3d..6840c41a0 100644
--- a/Microsoft.Management.Deployment.Projection/Properties/AssemblyInfo.cs
+++ b/Microsoft.Management.Deployment.Projection/Properties/AssemblyInfo.cs
@@ -7,11 +7,11 @@
[assembly: AssemblyCompany("高怡飞")]
[assembly: AssemblyCopyright("©Copyright ©2022-2024 高怡飞, All Rights Reserved.")]
[assembly: AssemblyDescription("获取商店应用 WinGet WinRT 扩展")]
-[assembly: AssemblyFileVersion("5.0.1001.0")]
-[assembly: AssemblyInformationalVersion("5.0.1001.0")]
+[assembly: AssemblyFileVersion("5.1.1004.0")]
+[assembly: AssemblyInformationalVersion("5.1.1004.0")]
[assembly: AssemblyProduct("获取商店应用 WinGet WinRT 扩展")]
[assembly: AssemblyTitle("获取商店应用 WinGet WinRT 扩展")]
-[assembly: AssemblyVersion("5.0.1001.0")]
+[assembly: AssemblyVersion("5.1.1004.0")]
// 应用程序默认区域性的资源控制器设置
[assembly: NeutralResourcesLanguage("en-us")]