mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-22 01:58:04 +00:00
Adding app icon to run context menu item in all apps ext (#40991)
Closes #40978 All apps extension's "Run" command now has the apps icon if available. <img width="1197" height="741" alt="image" src="https://github.com/user-attachments/assets/96ce75cb-cc6e-4176-bf4f-c92c2842b258" />
This commit is contained in:
parent
e1086726ec
commit
e0097c94c6
@ -26,6 +26,11 @@ public sealed partial class AppCommand : InvokableCommand
|
||||
|
||||
Name = Resources.run_command_action;
|
||||
Id = GenerateId();
|
||||
|
||||
if (!string.IsNullOrEmpty(app.IcoPath))
|
||||
{
|
||||
Icon = new(app.IcoPath);
|
||||
}
|
||||
}
|
||||
|
||||
internal static async Task StartApp(string aumid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user