File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Flow.Launcher.Core/Configuration Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 88using Flow . Launcher . Infrastructure . Logger ;
99using Flow . Launcher . Infrastructure . UserSettings ;
1010using Flow . Launcher . Plugin . SharedCommands ;
11+ using System . Linq ;
1112
1213namespace Flow . Launcher . Core . Configuration
1314{
@@ -19,7 +20,11 @@ public class Portable : IPortable
1920 /// <returns></returns>
2021 private UpdateManager NewUpdateManager ( )
2122 {
22- return new UpdateManager ( string . Empty , Constant . FlowLauncher , Constant . RootDirectory ) ;
23+ var applicationFolderName = Constant . ApplicationDirectory
24+ . Split ( new [ ] { Path . DirectorySeparatorChar } , StringSplitOptions . None )
25+ . Last ( ) ;
26+
27+ return new UpdateManager ( string . Empty , applicationFolderName , Constant . RootDirectory ) ;
2328 }
2429
2530 public void DisablePortableMode ( )
You can’t perform that action at this time.
0 commit comments