From c82ab202582f5f1b909625f735b5b585222a0e3a Mon Sep 17 00:00:00 2001 From: Davide Date: Sat, 4 Dec 2021 13:52:27 +0100 Subject: [PATCH] update icons and author on startup --- src/modules/launcher/PowerLauncher/SettingsReader.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/launcher/PowerLauncher/SettingsReader.cs b/src/modules/launcher/PowerLauncher/SettingsReader.cs index 33f92754a531..fb428ca23988 100644 --- a/src/modules/launcher/PowerLauncher/SettingsReader.cs +++ b/src/modules/launcher/PowerLauncher/SettingsReader.cs @@ -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 @@ private static IEnumerable GetDefaultPluginsSetting } /// - /// Add new plugins and updates additional options for existing ones + /// Add new plugins and updates properties and additional options for existing ones /// private static void UpdateSettings(PowerLauncherSettings settings) { @@ -214,6 +214,9 @@ private static void UpdateSettings(PowerLauncherSettings settings) 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; }