Skip to content

Commit 2a59c76

Browse files
committed
Update AppSdk to 1.8
1 parent 63abb29 commit 2a59c76

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/UniGetUI.Core.Tools/DWMThreadHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static void ChangeState_DWM(bool suspend)
5252
Logger.Debug("DWM Thread was already running"); return;
5353
}
5454

55-
DWMThreadAdress ??= GetTargetFunctionAddress("dwmcorei.dll", 0x36240);// 0x36170);
55+
DWMThreadAdress ??= GetTargetFunctionAddress("dwmcorei.dll", 0x332E0);//0x36240 -- 0x36170);
5656
if (DWMThreadAdress is null)
5757
{
5858
Logger.Error("Failed to resolve DWM thread start adress."); return;
@@ -76,7 +76,7 @@ public static void ChangeState_XAML(bool suspend)
7676

7777
// The reported offset on ProcessExplorer seems to be missing a part somehow.
7878
// To find the real adress, set offset to 0, and then get the offset from the Debugger.Break at ChangeState()
79-
XAMLThreadAdress ??= GetTargetFunctionAddress("Microsoft.UI.Xaml.dll", 0x27C0E0);//0x2771A0);
79+
XAMLThreadAdress ??= GetTargetFunctionAddress("Microsoft.UI.Xaml.dll", 0x27A6F0);//0x27C0E0 -- 0x2771A0);
8080
if (XAMLThreadAdress is null)
8181
{
8282
Logger.Error("Failed to resolve XAML thread start adress."); return;

src/UniGetUI/UniGetUI.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
<Target Name="GenerateBuildInfo" BeforeTargets="BeforeBuild">
2828
<Exec Command="pwsh -File Services/generate-secrets.ps1 $(IntermediateOutputPath)" />
2929
<ItemGroup>
30-
<Compile Include="**/*$(DefaultLanguageSourceExtension)"
31-
Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder);$(BaseIntermediateOutputPath)**;$(BaseOutputPath)**;@(Compile)" />
30+
<Compile Include="**/*$(DefaultLanguageSourceExtension)" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder);$(BaseIntermediateOutputPath)**;$(BaseOutputPath)**;@(Compile)" />
3231
</ItemGroup>
3332
</Target>
3433

@@ -94,10 +93,10 @@
9493
<PackageReference Include="CommunityToolkit.WinUI.Media" Version="8.2.250402" />
9594
<PackageReference Include="H.NotifyIcon.WinUI" Version="2.3.0" />
9695
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.2.0" />
97-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250606001" />
96+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.250907003" />
9897
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.4948" />
9998
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.15.0" />
100-
<PackageReference Include="System.Drawing.Common" Version="9.0.9" Aliases="DrawingCommon" />
99+
<PackageReference Include="System.Drawing.Common" Version="9.0.9" Aliases="DrawingCommon" />
101100
<PackageReference Include="System.Net.Http" Version="4.3.4" />
102101
<PackageReference Include="System.Private.Uri" Version="4.3.2" />
103102
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />

0 commit comments

Comments
 (0)