Check if Process.Start passes the WACK validation.
Ref: https://github.com/Kyome22/RunCat365/pull/251#discussion_r2690286779
// 🐮
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
{
FileName = "taskmgr",
UseShellExecute = true
});
// OR
// 🐸
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
{
FileName = "explorer.exe",
Arguments = "taskmgr",
UseShellExecute = true
});
@mor39a I've looked into the implementation of a shortcut to launch the Task Manager.
Surprisingly, the above code passed the WACK (Windows App Certification Kit) validation check. However, based on my online research, since this operation bypasses the sandbox, it's highly likely to be rejected when submitted to the Microsoft Store.
Note that while the implementation 🐮 successfully opened the Task Manager, the implementation 🐸 only opened the Explorer app and failed to launch the Task Manager.
I was thinking about including the Task Manager launch shortcut in the next version, 3.3.0, but I've decided to scrap it to play it safe.
I was thinking about including the Task Manager launch shortcut in the next version, 3.3.0, but I've decided to scrap it to play it safe.
Are you discarding it for that version, or permanently?
However, based on my online research, since this operation bypasses the sandbox, it's highly likely to be rejected when submitted to the Microsoft Store.
I did a bit of research, and it seems that apps that have runFullTrust (like RunCat) don’t have a traditional sandbox. It appears that as long as they are opened by an explicit user request, in a visible and non-repetitive way, and are not used to interfere with other processes, there shouldn’t be any issue.
That said, I’ll leave it up to your judgment.
Are you discarding it for that version, or permanently?
@mor39a No, it doesn't mean it's permanently rejected. Let's focus our efforts on tackling it in version 3.4.0.