File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Flow.Launcher.Core/Plugin Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,10 @@ public static void LoadPlugins(PluginsSettings settings)
152
152
Settings = settings ;
153
153
Settings . UpdatePluginSettings ( _metadatas ) ;
154
154
AllPlugins = PluginsLoader . Plugins ( _metadatas , Settings ) ;
155
- UpdateAndValidatePluginDirectory ( _metadatas ) ;
155
+ UpdatePluginDirectory ( _metadatas ) ;
156
156
}
157
157
158
- private static void UpdateAndValidatePluginDirectory ( List < PluginMetadata > metadatas )
158
+ private static void UpdatePluginDirectory ( List < PluginMetadata > metadatas )
159
159
{
160
160
foreach ( var metadata in metadatas )
161
161
{
@@ -169,9 +169,6 @@ private static void UpdateAndValidatePluginDirectory(List<PluginMetadata> metada
169
169
metadata . PluginSettingsDirectoryPath = Path . Combine ( DataLocation . PluginSettingsDirectory , metadata . Name ) ;
170
170
metadata . PluginCacheDirectoryPath = Path . Combine ( DataLocation . PluginCacheDirectory , metadata . Name ) ;
171
171
}
172
-
173
- Helper . ValidateDirectory ( metadata . PluginSettingsDirectoryPath ) ;
174
- Helper . ValidateDirectory ( metadata . PluginCacheDirectoryPath ) ;
175
172
}
176
173
}
177
174
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ internal set
123
123
public int QueryCount { get ; set ; }
124
124
125
125
/// <summary>
126
- /// The path to the plugin settings directory.
126
+ /// The path to the plugin settings directory which is not validated .
127
127
/// It is used to store plugin settings files and data files.
128
128
/// When plugin is deleted, FL will ask users whether to keep its settings.
129
129
/// If users do not want to keep, this directory will be deleted.
@@ -132,7 +132,7 @@ internal set
132
132
public string PluginSettingsDirectoryPath { get ; internal set ; }
133
133
134
134
/// <summary>
135
- /// The path to the plugin cache directory.
135
+ /// The path to the plugin cache directory which is not validated .
136
136
/// It is used to store cache files.
137
137
/// When plugin is deleted, this directory will be deleted as well.
138
138
/// </summary>
You can’t perform that action at this time.
0 commit comments