Skip to content

Commit a7fc5b3

Browse files
authored
Merge pull request #2204 from Flow-Launcher/clear_obsolete
Remove obsolete and unused code
2 parents 67d8b20 + 46c7c53 commit a7fc5b3

File tree

20 files changed

+33
-233
lines changed

20 files changed

+33
-233
lines changed

Deploy/local_build.ps1

Lines changed: 0 additions & 4 deletions
This file was deleted.

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project>
2+
<PropertyGroup>
3+
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
4+
</PropertyGroup>
5+
</Project>

Flow.Launcher.Core/ExternalPlugins/Environments/AbstractPluginEnvironment.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,6 @@ internal IEnumerable<PluginPair> Setup()
4141
if (!PluginMetadataList.Any(o => o.Language.Equals(Language, StringComparison.OrdinalIgnoreCase)))
4242
return new List<PluginPair>();
4343

44-
// TODO: Remove. This is backwards compatibility for 1.10.0 release- changed PythonEmbeded to Environments/Python
45-
if (Language.Equals(AllowedLanguage.Python, StringComparison.OrdinalIgnoreCase))
46-
{
47-
FilesFolders.RemoveFolderIfExists(Path.Combine(DataLocation.DataDirectory(), "PythonEmbeddable"));
48-
49-
if (!string.IsNullOrEmpty(PluginSettings.PythonDirectory) && PluginSettings.PythonDirectory.StartsWith(Path.Combine(DataLocation.DataDirectory(), "PythonEmbeddable")))
50-
{
51-
InstallEnvironment();
52-
PluginSettings.PythonDirectory = string.Empty;
53-
}
54-
}
55-
5644
if (!string.IsNullOrEmpty(PluginsSettingsFilePath) && FilesFolders.FileExists(PluginsSettingsFilePath))
5745
{
5846
// Ensure latest only if user is using Flow's environment setup.

Flow.Launcher.Core/Plugin/QueryBuilder.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using Flow.Launcher.Plugin;
44

@@ -33,9 +33,13 @@ public static Query Build(string text, Dictionary<string, PluginPair> nonGlobalP
3333
searchTerms = terms;
3434
}
3535

36-
var query = new Query(rawQuery, search,terms, searchTerms, actionKeyword);
37-
38-
return query;
36+
return new Query ()
37+
{
38+
Search = search,
39+
RawQuery = rawQuery,
40+
SearchTerms = searchTerms,
41+
ActionKeyword = actionKeyword
42+
};
3943
}
4044
}
4145
}

Flow.Launcher.CrashReporter/Flow.Launcher.CrashReporter.csproj

Lines changed: 0 additions & 115 deletions
This file was deleted.
-14.6 KB
Binary file not shown.
-1.33 KB
Binary file not shown.
-1.04 KB
Binary file not shown.
-738 Bytes
Binary file not shown.

Flow.Launcher.CrashReporter/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)