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 8
8
using Flow . Launcher . Infrastructure . Logger ;
9
9
using Flow . Launcher . Infrastructure . UserSettings ;
10
10
using Flow . Launcher . Plugin . SharedCommands ;
11
+ using System . Linq ;
11
12
12
13
namespace Flow . Launcher . Core . Configuration
13
14
{
@@ -19,7 +20,11 @@ public class Portable : IPortable
19
20
/// <returns></returns>
20
21
private UpdateManager NewUpdateManager ( )
21
22
{
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 ) ;
23
28
}
24
29
25
30
public void DisablePortableMode ( )
You can’t perform that action at this time.
0 commit comments