Describe the bug
I use the Task Scheduler to manage the winui app to start as a admin or not. But I always meet the error when it is not "Run with highest privileges", which is used shell to start the winui app.
The most situation:

rare situation:


Tip: You can't just use the winui app exe path the same as the normal exe path under without admin, but you can with the admin.
Steps to reproduce the bug
The creation logic: https://github.com/SnapHutaoRemasteringProject/Snap.Hutao.Remastered.Native/blob/master/src/Snap.Hutao.Remastered.Native/HutaoNative.cpp#L35-L753
The app call:
https://github.com/SnapHutaoRemasteringProject/Snap.Hutao.Remastered/blob/main/src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/ViewModel/Setting/SettingViewModel.cs
Expected behavior
No response
Screenshots
No response
NuGet package version
1.8.260317003
Packaging type
Packaged (MSIX)
Windows version
Insider Build (xxxxx)
IDE
No response
Additional context
What should I do?
Describe the bug
I use the Task Scheduler to manage the winui app to start as a admin or not. But I always meet the error when it is not "Run with highest privileges", which is used shell to start the winui app.


The most situation:
rare situation:
Steps to reproduce the bug
The creation logic: https://github.com/SnapHutaoRemasteringProject/Snap.Hutao.Remastered.Native/blob/master/src/Snap.Hutao.Remastered.Native/HutaoNative.cpp#L35-L753
The app call:
https://github.com/SnapHutaoRemasteringProject/Snap.Hutao.Remastered/blob/main/src/Snap.Hutao.Remastered/Snap.Hutao.Remastered/ViewModel/Setting/SettingViewModel.cs
Expected behavior
No response
Screenshots
No response
NuGet package version
1.8.260317003
Packaging type
Packaged (MSIX)
Windows version
Insider Build (xxxxx)
IDE
No response
Additional context
What should I do?