DesktopBridgeHelpers
DesktopBridgeHelpers copied to clipboard
Not working for WinUI3 applications
For WinUI 3 Win32 applications Helper also returns true That is correct, since WinUI3 apps also could be packed. But as I understand, the main purpose of this helper is to detect if app is UWP and haver restricted capabilities. WinUI 3 Win32 could have full access to the system APIs, so current helper implementation of helper is not valid for modern UI desktop technologies.
Here is a sample WinUI3 app https://github.com/okolobaxa/WinUIApp-demo
Unfortunately my research didn’t bring anything. Maybe there are some other ways to check without relying on package-related Win32 APIs?