mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01: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
25 lines
917 B
C#
25 lines
917 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.
|
|
|
|
namespace Microsoft.CmdPal.Ext.Apps.Programs;
|
|
|
|
/// <summary>
|
|
/// Contains user added folder location contents as well as all user disabled applications
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>Win32 class applications set UniqueIdentifier using their full file path</para>
|
|
/// <para>UWP class applications set UniqueIdentifier using their Application User Model ID</para>
|
|
/// <para>Custom user added program sources set UniqueIdentifier using their location</para>
|
|
/// </remarks>
|
|
public class ProgramSource
|
|
{
|
|
public string Location { get; set; } = string.Empty;
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public bool Enabled { get; set; } = true;
|
|
|
|
public string UniqueIdentifier { get; set; } = string.Empty;
|
|
}
|