This commit is contained in:
Jeremy Wu 2020-12-14 08:42:42 +11:00
parent c8b251d63a
commit ee0fc1ac47

View file

@ -45,7 +45,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
var unzippedFolderCount = Directory.GetDirectories(unzippedParentFolderPath).Length;
var unzippedFilesCount = Directory.GetFiles(unzippedParentFolderPath).Length;
// addjust path depending on how the plugin is zipped up
// adjust path depending on how the plugin is zipped up
// the recommended should be to zip up the folder not the contents
if (unzippedFolderCount == 1 && unzippedFilesCount == 0)
// folder is zipped up, unzipped plugin directory structure: tempPath/unzippedParentPluginFolder/pluginFolderName/