diff --git a/Flow.Launcher.Core/Configuration/Portable.cs b/Flow.Launcher.Core/Configuration/Portable.cs index f239bec0d..d08c9ae2c 100644 --- a/Flow.Launcher.Core/Configuration/Portable.cs +++ b/Flow.Launcher.Core/Configuration/Portable.cs @@ -8,6 +8,7 @@ using Flow.Launcher.Infrastructure; using Flow.Launcher.Infrastructure.Logger; using Flow.Launcher.Infrastructure.UserSettings; using Flow.Launcher.Plugin.SharedCommands; +using System.Linq; namespace Flow.Launcher.Core.Configuration { @@ -19,7 +20,11 @@ namespace Flow.Launcher.Core.Configuration /// private UpdateManager NewUpdateManager() { - return new UpdateManager(string.Empty, Constant.FlowLauncher, Constant.RootDirectory); + var applicationFolderName = Constant.ApplicationDirectory + .Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.None) + .Last(); + + return new UpdateManager(string.Empty, applicationFolderName, Constant.RootDirectory); } public void DisablePortableMode()