WindowsAppSDK-Samples
WindowsAppSDK-Samples copied to clipboard
Does anyone have a working example of using Restart API for Microsoft Store updates?
I refer to https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/AppLifecycle/Restart/cs-winui-packaged
Which is linked to from https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/applifecycle-restart#examples
The documentation implies that this Restart API could be used to handle software updates, but there is no full example of this being done, it seems that its actually not possible to update a running app via Microsoft Store and have the app restart itself?
Seems like an oversight.