mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-01 09:59:06 +08:00
[PTRun]update icons and author on startup (#14828)
This commit is contained in:
parent
d7e36079fc
commit
3b89e6f5a4
@ -1,4 +1,4 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// 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.
|
||||
|
||||
@ -202,7 +202,7 @@ namespace PowerLauncher
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Add new plugins and updates additional options for existing ones
|
||||
/// Add new plugins and updates properties and additional options for existing ones
|
||||
/// </summary>
|
||||
private static void UpdateSettings(PowerLauncherSettings settings)
|
||||
{
|
||||
@ -214,6 +214,9 @@ namespace PowerLauncher
|
||||
var additionalOptions = CombineAdditionalOptions(defaultPlugins[plugin.Id].AdditionalOptions, plugin.AdditionalOptions);
|
||||
plugin.Name = defaultPlugins[plugin.Id].Name;
|
||||
plugin.Description = defaultPlugins[plugin.Id].Description;
|
||||
plugin.Author = defaultPlugins[plugin.Id].Author;
|
||||
plugin.IconPathDark = defaultPlugins[plugin.Id].IconPathDark;
|
||||
plugin.IconPathLight = defaultPlugins[plugin.Id].IconPathLight;
|
||||
defaultPlugins[plugin.Id] = plugin;
|
||||
defaultPlugins[plugin.Id].AdditionalOptions = additionalOptions;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user