File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Plugins/Flow.Launcher.Plugin.WebSearch Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 6
6
using System . Threading . Tasks ;
7
7
using System . Windows . Controls ;
8
8
using Flow . Launcher . Infrastructure ;
9
- using Flow . Launcher . Infrastructure . UserSettings ;
10
9
using Flow . Launcher . Plugin . SharedCommands ;
11
10
12
11
namespace Flow . Launcher . Plugin . WebSearch
@@ -183,9 +182,8 @@ void Init()
183
182
DefaultImagesDirectory = Path . Combine ( pluginDirectory , Images ) ;
184
183
Helper . ValidateDataDirectory ( bundledImagesDirectory , DefaultImagesDirectory ) ;
185
184
186
- // Custom images directory is in the WebSearch's data location folder
187
- var name = Path . GetFileNameWithoutExtension ( _context . CurrentPluginMetadata . ExecuteFileName ) ;
188
- CustomImagesDirectory = Path . Combine ( DataLocation . PluginSettingsDirectory , name , "CustomIcons" ) ;
185
+ // Custom images directory is in the WebSearch's data location folder
186
+ CustomImagesDirectory = Path . Combine ( _context . CurrentPluginMetadata . PluginSettingsDirectoryPath , "CustomIcons" ) ;
189
187
} ;
190
188
}
191
189
You can’t perform that action at this time.
0 commit comments