Spelling: ... src/modules/launcher (#3694)

This commit is contained in:
Josh Soref
2020-05-25 20:27:13 -04:00
committed by GitHub
parent c674fe1f04
commit 71e528139c
29 changed files with 38 additions and 38 deletions

View File

@@ -1,6 +1,6 @@

/* We basically follow the Json-RPC 2.0 spec (http://www.jsonrpc.org/specification) to invoke methods between Wox and other plugins,
* like python or other self-execute program. But, we added addtional infos (proxy and so on) into rpc request. Also, we didn't use the
* like python or other self-execute program. But, we added additional infos (proxy and so on) into rpc request. Also, we didn't use the
* "id" and "jsonrpc" in the request, since it's not so useful in our request model.
*
* When execute a query:

View File

@@ -31,7 +31,7 @@ namespace Wox.Core.Plugin
private static void ParsePluginConfigs(IEnumerable<string> directories)
{
// todo use linq when diable plugin is implmented since parallel.foreach + list is not thread saft
// todo use linq when diable plugin is implemented since parallel.foreach + list is not thread saft
foreach (var directory in directories)
{
if (File.Exists(Path.Combine(directory, "NeedDelete.txt")))

View File

@@ -74,8 +74,8 @@ namespace Wox.Core.Plugin
UnZip(path, newPluginPath, true);
Directory.Delete(tempFoler, true);
//exsiting plugins may be has loaded by application,
//if we try to delelte those kind of plugins, we will get a error that indicate the
//existing plugins could be loaded by the application,
//if we try to delete those kind of plugins, we will get a error that indicate the
//file is been used now.
//current solution is to restart wox. Ugly.
//if (MainWindow.Initialized)
@@ -148,7 +148,7 @@ namespace Wox.Core.Plugin
/// </summary>
/// <param name="zipedFile">The ziped file.</param>
/// <param name="strDirectory">The STR directory.</param>
/// <param name="overWrite">overwirte</param>
/// <param name="overWrite">overwrite</param>
private static void UnZip(string zipedFile, string strDirectory, bool overWrite)
{
if (strDirectory == "")

View File

@@ -29,7 +29,7 @@ namespace Wox.Core.Plugin
public static IPublicAPI API { private set; get; }
// todo happlebao, this should not be public, the indicator function should be embeded
// todo happlebao, this should not be public, the indicator function should be embedded
public static PluginsSettings Settings;
private static List<PluginMetadata> _metadatas;
private static readonly string[] Directories = { Constant.PreinstalledDirectory, Constant.PluginsDirectory };

View File

@@ -213,7 +213,7 @@ namespace Wox.Core.Resource
public void SetBlurForWindow()
{
// Exception of FindResource can't be cathed if global exception handle is set
// Exception of FindResource can't be caught if global exception handle is set
if (Environment.OSVersion.Version >= new Version(6, 2))
{
var resource = Application.Current.TryFindResource("ThemeBlurEnabled");