diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.Apps/AppCommand.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.Apps/AppCommand.cs index 4f26d45839..39e71f9a32 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.Apps/AppCommand.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.Apps/AppCommand.cs @@ -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)