[PTRun] Disable CETCompat in Launcher (#37550)

* Disable CETCompat in Launcher

* Added comment

* Improved comment
This commit is contained in:
Ionuț Manța
2025-02-25 03:34:30 -08:00
committed by GitHub
parent 4eb11d6f9b
commit 9a658eb884

View File

@@ -7,6 +7,8 @@
<AssemblyTitle>PowerToys.Run</AssemblyTitle>
<OutputType>WinExe</OutputType>
<UseWPF>true</UseWPF>
<!-- For some users, it crashes in ExtractAssociatedIcon https://github.com/microsoft/PowerToys/issues/37254. Workaround suggested here https://github.com/dotnet/wpf/issues/10483 was to disable CETCompat -->
<CETCompat>false</CETCompat>
<UseWindowsForms>False</UseWindowsForms>
<StartupObject>PowerLauncher.App</StartupObject>
<ApplicationIcon>Assets\PowerLauncher\RunResource.ico</ApplicationIcon>