mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
**WARNING:** This PR will probably blow up all in-flight PRs at some point in the early days of CmdPal, two of us created seperate `Exts` and `exts` dirs. Depending on what the casing was on the branch that you checked one of those out from, it'd get stuck like that on your PC forever. Windows didn't care, so we never noticed. But GitHub does care, and now browsing the source on GitHub is basically impossible. Closes #38081
35 lines
921 B
C#
35 lines
921 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
using Microsoft.CmdPal.Ext.Apps.Programs;
|
|
using Microsoft.CommandPalette.Extensions.Toolkit;
|
|
|
|
namespace Microsoft.CmdPal.Ext.Apps;
|
|
|
|
internal sealed class AppItem
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public string Subtitle { get; set; } = string.Empty;
|
|
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
public string IcoPath { get; set; } = string.Empty;
|
|
|
|
public string ExePath { get; set; } = string.Empty;
|
|
|
|
public string DirPath { get; set; } = string.Empty;
|
|
|
|
public string UserModelId { get; set; } = string.Empty;
|
|
|
|
public bool IsPackaged { get; set; }
|
|
|
|
public List<CommandContextItem>? Commands { get; set; }
|
|
|
|
public AppItem()
|
|
{
|
|
}
|
|
}
|