Skip to content

Commit f960a90

Browse files
committed
fix(tray): restore icon after Explorer restart
Bump WinUIEx to the release that re-registers TrayIcon on TaskbarCreated. Keep CS0618 visible but non-fatal because WinUI's generated XamlTypeInfo still references WinUIEx.Icon.FromFile. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ea6ca262-e24c-4a46-99c1-1a7b59b24943
1 parent 99730e7 commit f960a90

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csproj‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<DefaultLanguage>en-US</DefaultLanguage>
1616
<Platforms>x64;ARM64</Platforms>
1717
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
18+
<!-- WinUIEx 2.9.3 marks its legacy Icon type obsolete, but the WinUI XAML generator still emits Icon.FromFile. -->
19+
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS0618</WarningsNotAsErrors>
1820
</PropertyGroup>
1921

2022
<!-- Dev build identity: allows side-by-side installation with Release.
@@ -77,7 +79,7 @@
7779
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="$(MicrosoftWindowsSdkBuildToolsVersion)" />
7880
<PackageReference Include="OpenTelemetry" Version="1.16.0" />
7981
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.16.0" />
80-
<PackageReference Include="WinUIEx" Version="2.9.0" />
82+
<PackageReference Include="WinUIEx" Version="2.9.3" />
8183
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.3" />
8284
<PackageReference Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.3.260402-preview2" />
8385
<PackageReference Include="CommunityToolkit.WinUI.Controls.Sizers" Version="8.3.260402-preview2" />

0 commit comments

Comments
 (0)