From e7127cf514709ef61b8fd42fca289c11e9d20fd7 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Fri, 16 Apr 2021 08:53:19 +1000 Subject: [PATCH 01/18] add error message method to api to allow the use of standard error icon --- Flow.Launcher.Plugin/IPublicAPI.cs | 7 +++++++ Flow.Launcher/PublicAPIInstance.cs | 2 ++ Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs | 10 +++++----- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Flow.Launcher.Plugin/IPublicAPI.cs b/Flow.Launcher.Plugin/IPublicAPI.cs index 0c1cd7bfd..cd903898a 100644 --- a/Flow.Launcher.Plugin/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/IPublicAPI.cs @@ -47,6 +47,13 @@ namespace Flow.Launcher.Plugin /// void CheckForNewUpdate(); + /// + /// Show the error message using Flow's standard error icon. + /// + /// Message title + /// Optional message subtitle + void ShowMsgError(string title, string subTitle = ""); + /// /// Show message box /// diff --git a/Flow.Launcher/PublicAPIInstance.cs b/Flow.Launcher/PublicAPIInstance.cs index 77902ecd9..edc3b9a3e 100644 --- a/Flow.Launcher/PublicAPIInstance.cs +++ b/Flow.Launcher/PublicAPIInstance.cs @@ -84,6 +84,8 @@ namespace Flow.Launcher public Task ReloadAllPluginData() => PluginManager.ReloadData(); + public void ShowMsgError(string title, string subTitle = "") => ShowMsg(title, subTitle, Constant.ErrorIcon, true); + public void ShowMsg(string title, string subTitle = "", string iconPath = "") => ShowMsg(title, subTitle, iconPath, true); public void ShowMsg(string title, string subTitle, string iconPath, bool useMainWindowAsOwner = true) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs index 21eb844b4..c6bf7bcac 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs @@ -184,7 +184,7 @@ namespace Flow.Launcher.Plugin.Explorer { var message = $"Fail to delete {fileOrFolder} at {record.FullPath}"; LogException(message, e); - Context.API.ShowMsg(message); + Context.API.ShowMsgError(message); return false; } @@ -208,7 +208,7 @@ namespace Flow.Launcher.Plugin.Explorer { var name = "Plugin: Folder"; var message = $"File not found: {e.Message}"; - Context.API.ShowMsg(name, message); + Context.API.ShowMsgError(name, message); } return true; @@ -236,7 +236,7 @@ namespace Flow.Launcher.Plugin.Explorer { var message = $"Fail to open file at {record.FullPath}"; LogException(message, e); - Context.API.ShowMsg(message); + Context.API.ShowMsgError(message); return false; } @@ -267,7 +267,7 @@ namespace Flow.Launcher.Plugin.Explorer { var message = $"Failed to open editor for file at {record.FullPath}"; LogException(message, e); - Context.API.ShowMsg(message); + Context.API.ShowMsgError(message); return false; } }, @@ -326,7 +326,7 @@ namespace Flow.Launcher.Plugin.Explorer { var message = Context.API.GetTranslation("plugin_explorer_openindexingoptions_errormsg"); LogException(message, e); - Context.API.ShowMsg(message); + Context.API.ShowMsgError(message); return false; } }, From 6b118d870a0b86e00704240bc04af04e9c753550 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Fri, 16 Apr 2021 08:54:49 +1000 Subject: [PATCH 02/18] version bump Explorer --- Plugins/Flow.Launcher.Plugin.Explorer/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json index f95befd56..376c273d0 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json @@ -7,7 +7,7 @@ "Name": "Explorer", "Description": "Search and manage files and folders. Explorer utilises Windows Index Search", "Author": "Jeremy Wu", - "Version": "1.7.4", + "Version": "1.7.5", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Explorer.dll", From a01e0d484aef96eef4ebedbc8c38d504b166c9b0 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Mon, 19 Apr 2021 07:23:50 +1000 Subject: [PATCH 03/18] add tips and userdata location commands for Sys plugin --- .../Languages/en.xaml | 2 ++ Plugins/Flow.Launcher.Plugin.Sys/Main.cs | 26 +++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml index 4f841c07f..45ab9a304 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/en.xaml @@ -20,6 +20,8 @@ Refreshes plugin data with new content Open Flow Launcher's log location Check for new Flow Launcher update + Visit Flow Launcher's documentation for more help and how to use tips + Open the location where Flow Launcher's settings are stored Success diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs index 380782650..c6b240072 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs @@ -278,11 +278,33 @@ namespace Flow.Launcher.Plugin.Sys Action = c => { var logPath = Path.Combine(DataLocation.DataDirectory(), "Logs", Constant.Version); - Process.Start("explorer".SetProcessStartInfo(arguments: logPath)); + FilesFolders.OpenPath(logPath); + return true; + } + }, + new Result + { + Title = "Flow Launcher Tips", + SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_open_docs_tips"), + IcoPath = "Images\\app.png", + Action = c => + { + SearchWeb.NewTabInBrowser(Constant.Documentation); + return true; + } + }, + new Result + { + Title = "Flow Launcher UserData Folder", + SubTitle = context.API.GetTranslation("flowlauncher_plugin_sys_open_userdata_location"), + IcoPath = "Images\\app.png", + Action = c => + { + FilesFolders.OpenPath(DataLocation.DataDirectory()); return true; } } - }); + }); return results; } From bb4b50c4e4fb03ba1656002257243ad386fcec12 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Mon, 19 Apr 2021 07:26:47 +1000 Subject: [PATCH 04/18] version bump for Sys plugin --- Plugins/Flow.Launcher.Plugin.Sys/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json index 40cab074e..bc97070ed 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json @@ -4,7 +4,7 @@ "Name": "System Commands", "Description": "Provide System related commands. e.g. shutdown,lock, setting etc.", "Author": "qianlifeng", - "Version": "1.2.3", + "Version": "1.3.0", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Sys.dll", From 1e2504346963d7d06ec1e42e72e766f8db8875e6 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Mon, 19 Apr 2021 07:29:58 +1000 Subject: [PATCH 05/18] fix format --- Plugins/Flow.Launcher.Plugin.Sys/Main.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs index c6b240072..1a23e6464 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Sys/Main.cs @@ -304,7 +304,8 @@ namespace Flow.Launcher.Plugin.Sys return true; } } - }); + }); + return results; } From d2fb26b10317e0d90d05039e639b523cc305f115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=98=E9=9F=AC=20=E5=BC=A0?= Date: Mon, 19 Apr 2021 13:06:03 +0800 Subject: [PATCH 06/18] Bring Legacy records together and remove some useless code for JsonStorage --- .../Storage/JsonStorage.cs | 13 +-- Flow.Launcher/Storage/UserSelectedRecord.cs | 99 +++++++++++-------- Flow.Launcher/ViewModel/MainViewModel.cs | 17 +--- 3 files changed, 65 insertions(+), 64 deletions(-) diff --git a/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs b/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs index 37cfec252..833ec087d 100644 --- a/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs +++ b/Flow.Launcher.Infrastructure/Storage/JsonStorage.cs @@ -11,7 +11,6 @@ namespace Flow.Launcher.Infrastructure.Storage /// public class JsonStrorage where T : new() { - private readonly JsonSerializerOptions _serializerSettings; protected T _data; // need a new directory name public const string DirectoryName = "Settings"; @@ -20,16 +19,6 @@ namespace Flow.Launcher.Infrastructure.Storage public string DirectoryPath { get; set; } - internal JsonStrorage() - { - // use property initialization instead of DefaultValueAttribute - // easier and flexible for default value of object - _serializerSettings = new JsonSerializerOptions - { - IgnoreNullValues = false - }; - } - public T Load() { if (File.Exists(FilePath)) @@ -55,7 +44,7 @@ namespace Flow.Launcher.Infrastructure.Storage { try { - _data = JsonSerializer.Deserialize(searlized, _serializerSettings); + _data = JsonSerializer.Deserialize(searlized); } catch (JsonException e) { diff --git a/Flow.Launcher/Storage/UserSelectedRecord.cs b/Flow.Launcher/Storage/UserSelectedRecord.cs index 668376dac..8d8956cfa 100644 --- a/Flow.Launcher/Storage/UserSelectedRecord.cs +++ b/Flow.Launcher/Storage/UserSelectedRecord.cs @@ -5,6 +5,7 @@ using System.Text.Json.Serialization; using Flow.Launcher.Infrastructure; using Flow.Launcher.Infrastructure.Storage; using Flow.Launcher.Plugin; +using Flow.Launcher.ViewModel; namespace Flow.Launcher.Storage { @@ -14,72 +15,90 @@ namespace Flow.Launcher.Storage private const int HASH_INITIAL = 23; [JsonInclude] - public Dictionary records { get; private set; } + public Dictionary recordsWithQuery { get; private set; } + + [JsonInclude, JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public Dictionary records { get; private set; } + public UserSelectedRecord() { - records = new Dictionary(); + recordsWithQuery = new Dictionary(); } - private static int GenerateCustomHashCode(Query query, Result result) + private static int GenerateStaticHashCode(string s, int start = HASH_INITIAL) { - int hashcode = HASH_INITIAL; - unchecked { // skip the empty space // https://stackoverflow.com/a/5155015 31 prime and is 2^5 - 1 which allows fast // optimization without information lost when int overflow - - for (int i = 0; i < query.ActionKeyword.Length; i++) + + for (int i = 0; i < s.Length; i++) { - char item = query.ActionKeyword[i]; - hashcode = hashcode * HASH_MULTIPLIER + item; - } - - for (int i = 0; i < query.Search.Length; i++) - { - char item = query.Search[i]; - hashcode = hashcode * HASH_MULTIPLIER + item; + start = start * HASH_MULTIPLIER + s[i]; } - for (int i = 0; i < result.Title.Length; i++) - { - char item = result.Title[i]; - hashcode = hashcode * HASH_MULTIPLIER + item; - } + return start; + } + } - for (int i = 0; i < result.SubTitle.Length; i++) - { - char item = result.SubTitle[i]; - hashcode = hashcode * HASH_MULTIPLIER + item; - } - return hashcode; + private static int GenerateResultHashCode(Result result) + { + int hashcode = GenerateStaticHashCode(result.Title); + return GenerateStaticHashCode(result.SubTitle, hashcode); + } + private static int GenerateQueryAndResultHashCode(Query query, Result result) + { + int hashcode = GenerateStaticHashCode(query.ActionKeyword); + hashcode = GenerateStaticHashCode(query.Search, hashcode); + hashcode = GenerateStaticHashCode(result.Title, hashcode); + hashcode = GenerateStaticHashCode(result.SubTitle, hashcode); + + return hashcode; + } + + private void TransformOldRecords() + { + if (records != null) + { + var localRecords = records; + records = null; + + foreach (var pair in localRecords) + { + recordsWithQuery.TryAdd(GenerateStaticHashCode(pair.Key), pair.Value); + } } } public void Add(Result result) { - var key = GenerateCustomHashCode(result.OriginQuery, result); - if (records.ContainsKey(key)) - { - records[key]++; - } - else - { - records.Add(key, 1); + TransformOldRecords(); - } + var keyWithQuery = GenerateQueryAndResultHashCode(result.OriginQuery, result); + + if (!recordsWithQuery.TryAdd(keyWithQuery, 1)) + recordsWithQuery[keyWithQuery]++; + + var keyWithoutQuery = GenerateResultHashCode(result); + + if (!recordsWithQuery.TryAdd(keyWithoutQuery, 1)) + recordsWithQuery[keyWithoutQuery]++; } public int GetSelectedCount(Result result) { - if (records.TryGetValue(GenerateCustomHashCode(result.OriginQuery, result), out int value)) - { - return value; - } - return 0; + var selectedCount = 0; + + recordsWithQuery.TryGetValue(GenerateQueryAndResultHashCode(result.OriginQuery, result), out int value); + selectedCount += value * 5; + + recordsWithQuery.TryGetValue(GenerateResultHashCode(result), out value); + selectedCount += value; + + return selectedCount; } } } diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index c1382e51e..56ab0ff1d 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -43,7 +43,6 @@ namespace Flow.Launcher.ViewModel private CancellationTokenSource _updateSource; private CancellationToken _updateToken; - private bool _saved; private readonly Internationalization _translator = InternationalizationManager.Instance; @@ -56,7 +55,6 @@ namespace Flow.Launcher.ViewModel public MainViewModel(Settings settings) { - _saved = false; _queryTextBeforeLeaveResults = ""; _queryText = ""; _lastQuery = new Query(); @@ -540,7 +538,7 @@ namespace Flow.Launcher.ViewModel var results = await PluginManager.QueryForPlugin(plugin, query, currentCancellationToken); if (currentCancellationToken.IsCancellationRequested || results == null) return; - + if (!_resultsUpdateChannelWriter.TryWrite(new ResultsForUpdate(results, plugin.Metadata, query, currentCancellationToken))) { Log.Error("MainViewModel", "Unable to add item to Result Update Queue"); @@ -765,14 +763,9 @@ namespace Flow.Launcher.ViewModel public void Save() { - if (!_saved) - { - _historyItemsStorage.Save(); - _userSelectedRecordStorage.Save(); - _topMostRecordStorage.Save(); - - _saved = true; - } + _historyItemsStorage.Save(); + _userSelectedRecordStorage.Save(); + _topMostRecordStorage.Save(); } /// @@ -813,7 +806,7 @@ namespace Flow.Launcher.ViewModel else { var priorityScore = metaResults.Metadata.Priority * 150; - result.Score += _userSelectedRecord.GetSelectedCount(result) * 5 + priorityScore; + result.Score += _userSelectedRecord.GetSelectedCount(result) + priorityScore; } } } From 6269da11df72197a86059916da41530fa3e9fba0 Mon Sep 17 00:00:00 2001 From: kubalav Date: Thu, 22 Apr 2021 11:28:59 +0200 Subject: [PATCH 07/18] Update Slovak translation --- Flow.Launcher/Languages/sk.xaml | 5 ++--- .../Flow.Launcher.Plugin.BrowserBookmark/Languages/sk.xaml | 2 ++ Plugins/Flow.Launcher.Plugin.Shell/Languages/sk.xaml | 2 ++ Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml | 4 ++++ Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml | 1 + 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher/Languages/sk.xaml b/Flow.Launcher/Languages/sk.xaml index 656dc7656..41fa3ee6c 100644 --- a/Flow.Launcher/Languages/sk.xaml +++ b/Flow.Launcher/Languages/sk.xaml @@ -36,6 +36,7 @@ Schovať ikonu z oblasti oznámení Presnosť vyhľadávania Použiť Pinyin + Umožňuje vyhľadávanie pomocou Pinyin. Pinyin je štandardný systém romanizovaného pravopisu pre transliteráciu čínštiny Plugin @@ -107,7 +108,6 @@ alebo prejdite na https://github.com/Flow-Launcher/Flow.Launcher/releases pre manuálne stiahnutie aktualizácie. Poznámky k vydaniu - Tipy na používanie: Vyššie číslo znamená, že výsledok bude vyššie. Skúste nastaviť napr. 5. Ak chcete, aby boli výsledky nižšie ako ktorékoľvek iné doplnky, zadajte záporné číslo @@ -122,7 +122,6 @@ Nová skratka pre akciu nemôže byť prázdna Nová skratka pre akciu bola priradená pre iný plugin, prosím, zvoľte inú skratku Úspešné - Úspešne dokončené Použite * ak nechcete určiť skratku pre akciu @@ -160,7 +159,7 @@ Bola nájdená aktualizácia Aktualizuje sa… Flow Launcher nedokázal presunúť používateľské údaje do aktualizovanej verzie. - Prosím, presuňte profilový priečinok „data“ z {0} do {1} + Prosím, presuňte profilový priečinok data z {0} do {1} Nová aktualizácia Je dostupná nová verzia Flow Launchera {0} Počas inštalácie aktualizácií došlo k chybe diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/sk.xaml index 825fa7737..cec49d79b 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/sk.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/sk.xaml @@ -12,4 +12,6 @@ Nová karta Nastaviť cestu k prehliadaču: Prehliadať + Kopírovať URL + Kopírovať URL záložky do schránky \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Shell/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.Shell/Languages/sk.xaml index 71ffaa1b5..53a09aa04 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/Languages/sk.xaml +++ b/Plugins/Flow.Launcher.Plugin.Shell/Languages/sk.xaml @@ -11,4 +11,6 @@ tento príkaz bol vykonaný {0} krát vykonať príkaz cez command shell Spustiť ako správca + Kopírovať príkaz + Zobraziť iba počet najpoužívanejších príkazov: \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml index f0eadeb89..1b64699cd 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml +++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/sk.xaml @@ -18,6 +18,10 @@ Hibernovať počítač Uložiť všetky nastavenia Flow Launchera Aktualizovať všetky dáta pluginov od spustenia Flow Launchera. Pluginy musia túto funkciu podporovať. + Otvoriť umiestnenie denníka Flow Launchera + Skontrolovať aktualizácie Flow Launchera + V dokumentácii k aplikácii Flow Launcher nájdete ďalšiu pomoc a tipy na používanie + Otvoriť umiestnenie, kde sú uložené nastavenia Flow Launchera Úspešné diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml index 851d9f244..9d7995e16 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml @@ -1,6 +1,7 @@  + Otvoriť vyhľadávanie v: Nové okno Nová karta From 49a0fda43d1499de210191870f79945344729221 Mon Sep 17 00:00:00 2001 From: kubalav Date: Thu, 22 Apr 2021 12:23:08 +0200 Subject: [PATCH 08/18] Plugins bump version --- Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Shell/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Sys/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json index e3ef792ec..f4a9beb28 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json @@ -4,7 +4,7 @@ "Name": "Browser Bookmarks", "Description": "Search your browser bookmarks", "Author": "qianlifeng, Ioannis G.", - "Version": "1.4.1", + "Version": "1.4.2", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.BrowserBookmark.dll", diff --git a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json index 807504774..b43d43b32 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json @@ -4,7 +4,7 @@ "Name": "Shell", "Description": "Provide executing commands from Flow Launcher", "Author": "qianlifeng", - "Version": "1.3.0", + "Version": "1.3.1", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Shell.dll", diff --git a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json index bc97070ed..290a6ea1d 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json @@ -4,7 +4,7 @@ "Name": "System Commands", "Description": "Provide System related commands. e.g. shutdown,lock, setting etc.", "Author": "qianlifeng", - "Version": "1.3.0", + "Version": "1.3.1", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Sys.dll", diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json index 7dd6a1290..a878dfd80 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json @@ -26,7 +26,7 @@ "Name": "Web Searches", "Description": "Provide the web search ability", "Author": "qianlifeng", - "Version": "1.3.6", + "Version": "1.3.1", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.WebSearch.dll", From 21c59f2fefef231204d43e1f4119c3041214c062 Mon Sep 17 00:00:00 2001 From: kubalav Date: Thu, 22 Apr 2021 12:37:24 +0200 Subject: [PATCH 09/18] Update Slovak translation --- Flow.Launcher/Languages/sk.xaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher/Languages/sk.xaml b/Flow.Launcher/Languages/sk.xaml index 41fa3ee6c..ec1b015da 100644 --- a/Flow.Launcher/Languages/sk.xaml +++ b/Flow.Launcher/Languages/sk.xaml @@ -108,6 +108,7 @@ alebo prejdite na https://github.com/Flow-Launcher/Flow.Launcher/releases pre manuálne stiahnutie aktualizácie. Poznámky k vydaniu + Tipy na používanie: Vyššie číslo znamená, že výsledok bude vyššie. Skúste nastaviť napr. 5. Ak chcete, aby boli výsledky nižšie ako ktorékoľvek iné doplnky, zadajte záporné číslo @@ -122,6 +123,7 @@ Nová skratka pre akciu nemôže byť prázdna Nová skratka pre akciu bola priradená pre iný plugin, prosím, zvoľte inú skratku Úspešné + Úspešne dokončené Použite * ak nechcete určiť skratku pre akciu From 765615a537a44e5beca010927637a457cb045656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Kubala?= <37414585+kubalav@users.noreply.github.com> Date: Thu, 22 Apr 2021 12:40:03 +0200 Subject: [PATCH 10/18] Update Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml Co-authored-by: Kevin Zhang <45326534+taooceros@users.noreply.github.com> --- Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml index 9d7995e16..e71eaf345 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/sk.xaml @@ -1,7 +1,6 @@  - Otvoriť vyhľadávanie v: Nové okno Nová karta @@ -35,4 +34,4 @@ Webové vyhľadávanie Umožňuje vyhľadávanie webov - \ No newline at end of file + From e35117b364eb5cfc14d70a263b15919ab22a7f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Kubala?= <37414585+kubalav@users.noreply.github.com> Date: Thu, 22 Apr 2021 12:42:38 +0200 Subject: [PATCH 11/18] Update Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json Co-authored-by: Kevin Zhang <45326534+taooceros@users.noreply.github.com> --- Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json index a878dfd80..3fedba30b 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json @@ -26,7 +26,7 @@ "Name": "Web Searches", "Description": "Provide the web search ability", "Author": "qianlifeng", - "Version": "1.3.1", + "Version": "1.3.7", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.WebSearch.dll", From e107d7fee20a7a5620b5132e0221e7474e74ec96 Mon Sep 17 00:00:00 2001 From: solitudechn Date: Wed, 28 Apr 2021 22:36:32 +0800 Subject: [PATCH 12/18] Added and corrected Chinese translation --- Flow.Launcher/Languages/zh-cn.xaml | 53 ++++++++++++++++--- .../Languages/zh-cn.xaml | 17 ++++++ .../Languages/zh-cn.xaml | 10 +++- .../Languages/zh-cn.xaml | 48 +++++++++++++++-- .../Languages/zh-cn.xaml | 39 ++++++++++++++ .../Languages/zh-cn.xaml | 12 +++++ .../Languages/zh-cn.xaml | 14 +++++ .../Languages/zh-cn.xaml | 4 ++ .../Languages/zh-cn.xaml | 15 ++++++ .../Languages/zh-cn.xaml | 6 ++- .../Languages/zh-cn.xaml | 7 ++- 11 files changed, 211 insertions(+), 14 deletions(-) create mode 100644 Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/zh-cn.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/zh-cn.xaml create mode 100644 Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/zh-cn.xaml diff --git a/Flow.Launcher/Languages/zh-cn.xaml b/Flow.Launcher/Languages/zh-cn.xaml index 92ce60e7f..efc7f19d9 100644 --- a/Flow.Launcher/Languages/zh-cn.xaml +++ b/Flow.Launcher/Languages/zh-cn.xaml @@ -4,7 +4,7 @@ 注册热键:{0} 失败 启动命令 {0} 失败 - 不是合法的Flow Launcher插件格式 + Flow Launcher插件格式错误 在当前查询中置顶 取消置顶 执行查询:{0} @@ -17,28 +17,37 @@ Flow Launcher设置 通用 - 开机启动 + 便携模式 + 开机自动启动 失去焦点时自动隐藏Flow Launcher 不显示新版本提示 记住上次启动位置 语言 上次搜索关键字模式 保留上次搜索关键字 - 全选上次搜索关键字 + 选择上次搜索关键字 清空上次搜索关键字 最大结果显示个数 全屏模式下忽略热键 Python 路径 自动更新 - Select + 选择 启动时不显示主窗口 隐藏任务栏图标 + 查询搜索精度 + 启动拼音搜索 + 允许使用拼音进行搜索。 插件 浏览更多插件 + 启用 禁用 触发关键字 + 当前操作关键字: + 新动作关键字: + 当前优先级: + 新优先级: 插件目录 作者 加载耗时 @@ -47,6 +56,7 @@ 主题 浏览更多主题 + 在这里输入 查询框字体 结果项字体 窗口模式 @@ -65,6 +75,9 @@ 增加 请选择一项 你确定要删除插件 {0} 的热键吗? + 查询窗口阴影效果 + 阴影效果将占用大量的GPU资源。 + 如果您的计算机性能有限,则不建议使用。 HTTP 代理 @@ -88,8 +101,18 @@ 版本 你已经激活了Flow Launcher {0} 次 检查更新 - 发现新版本 {0} , 请重启 flowlauncher。 + 发现新版本 {0} , 请重启 Flow Launcher。 + 下载更新失败,请检查您与 api.github.com 的连接状态或检查代理设置。 + + 下载更新失败,请检查您与 github-cloud.s3.amazonaws.com 的连接状态或检查代理设置, + 或访问 https://github.com/Flow-Launcher/Flow.Launcher/releases 手动下载更新。 + 更新说明: + 使用技巧: + + + 数字越大,结果排名越高。如果你想要结果比任何其他插件的低,请使用负数 + 请提供有效的整数作为优先级设置值! 旧触发关键字 @@ -98,11 +121,13 @@ 确定 找不到指定的插件 新触发关键字不能为空 - 新触发关键字已经被指派给其他插件了,请重新选择一个关键字 + 新触发关键字已经被指派给其他插件了,请换一个关键字 成功 + 成功完成 如果你不想设置触发关键字,可以使用*代替 + 自定义插件热键 预览 热键不可用,请选择一个新的热键 插件热键不合法 @@ -127,12 +152,24 @@ 发送失败 Flow Launcher出错啦 + + 请稍等... + + 检查新的更新 + 您已经拥有最新的Flow Launcher版本 + 检查到更新 + 更新中... + Flow Launcher无法将您的用户配置文件数据移动到新的更新版本中。 + 请手动将您的用户配置文件数据文件夹从 {0} 到 {1} + 新的更新 发现Flow Launcher新版本 V{0} - 更新Flow Launcher出错 + 尝试安装软件更新时发生错误 更新 取消 - 此更新需要重启Flow Launcher + 更新错误 + 检查网络是否可以连接至github-cloud.s3.amazonaws.com. + 此次更新需要重启Flow Launcher 下列文件会被更新 更新文件 更新日志 diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/zh-cn.xaml new file mode 100644 index 000000000..288e3ed94 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/zh-cn.xaml @@ -0,0 +1,17 @@ + + + + 浏览器书签 + 搜索您的浏览器书签 + + + 在以下位置打开书签: + 新窗口 + 新标签 + 设置浏览器路径: + 选择 + 复制网址 + 将书签的网址复制到剪贴板 + \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml index f48314719..9d9dbf93f 100644 --- a/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Calculator/Languages/zh-cn.xaml @@ -4,5 +4,13 @@ 计算器 为Flow Launcher提供数学计算能力。(试着在Flow Launcher输入 5*3-2) - + 请输入数字 + 表达错误或不完整(您是否忘记了一些括号?) + 将结果复制到剪贴板 + 十进制分隔符 + 在输出中使用的十进制分隔符。 + 使用系统区域设置 + 逗号(,) + 点(.) + 小数点后最大位数 \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml index 7f516861e..cd281cf24 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml @@ -2,13 +2,55 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib"> + + 请先选择 + 请选择一个文件夹链接 + 您确定要删除 {0} 吗? + 您确定要永久删除此 {0} 吗? + 删除成功 + 已成功删除 {0} + 使用全局操作关键字可能会在搜索过程中带来太多结果。请使用一个特定的操作关键字。 + 删除 编辑 添加 + 自定义动作关键字 + 快速访问链接 + 索引搜索排除的路径 + 索引选项 + 搜索激活: + 文件内容搜索: - - 请选择一个文件夹 - 你确定要删除{0}吗? + + Explorer + 利用windiws索引来搜索和管理文件和文件夹。 + + + 复制路径 + 复制 + 删除 + 路径: + 删除所选 + 以其他用户身份运行 + 使用其他用户帐户运行所选的 + 打开文件所在文件夹 + 打开文件或文件夹所在目录 + 使用编辑器打开: + 从索引搜索中排除当前目录和子目录 + 从索引搜索中排除 + 打开Windows索引选项 + 管理索引文件和文件夹 + 无法打开Windows索引选项 + 添加到快速访问 + 将 {0} 添加到快速访问中 + 添加完成 + 成功添加到快速访问 + 删除完成 + 已成功从快速访问中删除 + 添加到快速访问,以便可以使用Explorer的搜索关键字将其打开 + 从快速访问中删除 + 从快速访问中删除 + 从快速访问中删除 {0} \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/zh-cn.xaml new file mode 100644 index 000000000..6a060a7fe --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/zh-cn.xaml @@ -0,0 +1,39 @@ + + + + 下载插件 + 请稍等... + 下载完成 + {0} by {1} {2}{3} 您要卸载此插件吗? 卸载后,Flow Launcher 将自动重启。 + {0} by {1} {2}{3} 您要安装此插件吗? 安装后,Flow Launcher 将自动重启 + 插件安装 + 插件卸载 + 安装失败:无法从新插件中找到plugin.json元数据文件 + 安装插件时出错 + 尝试安装 {0} 时发生错误 + 无可用更新 + 所有插件都是最新的 + {0} by {1} {2}{3}您要更新此插件吗? 更新后,Flow Launcher 将自动重启。 + 插件更新 + 该插件有更新,您想看看吗? + 该插件已安装 + + + + + 插件管理 + 安装,卸载或更新 Flow Launcher 插件 + + + 打开网站 + 访问插件的网站 + 查看源代码 + 查看插件的源代码 + 提出增强建议或提交问题 + 提出增强功能或将问题提交给插件开发人员 + 转到 Flow Launcher 的插件存储库 + 访问 PluginsManifest 存储库以查看社区提供的插件 + + \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/zh-cn.xaml new file mode 100644 index 000000000..9b8909930 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.ProcessKiller/Languages/zh-cn.xaml @@ -0,0 +1,12 @@ + + + 进程杀手 + 使用Flow Launcher终止正在运行的进程 + + 杀死 "{0}" 的所有实例 + 杀死 {0} 进程 + 杀死所有实例 + + \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Program/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Program/Languages/zh-cn.xaml index 3def49513..7771cdf82 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Program/Languages/zh-cn.xaml @@ -6,7 +6,9 @@ 删除 编辑 增加 + 停用 位置 + 所有程序 索引文件后缀 重新索引 索引中 @@ -21,6 +23,7 @@ 最大搜索深度(-1是无限的): 请先选择一项 + 您确定要删除选定的程序源吗? 更新 Flow Launcher仅索引下列后缀的文件: @@ -28,12 +31,23 @@ 成功更新索引文件后缀 文件后缀不能为空 + 以其他用户身份运行 以管理员身份运行 打开所属文件夹 + 禁止显示该程序 程序 在Flow Launcher中搜索程序 无效路径 + 自定义资源管理器 + 参数 + 您可以通过输入要使用的资源管理器的环境变量来自定义用于打开容器文件夹的资源管理器。 使用CMD来测试环境变量是否可用。 + 输入要为自定义资源管理器添加的自定义参数。 %s代表父目录,%f代表完整路径(仅适用于win32)。 检查资源管理器的网站以获取详细信息。 + + + 完成 + 成功禁用了该程序以使其无法显示在查询中 + \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml index 215f4ebe7..329ce0a46 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Shell/Languages/zh-cn.xaml @@ -4,9 +4,13 @@ 替换 Win+R 执行后不关闭命令窗口 + 始终以管理员身份运行 + 以其他用户身份运行 命令行 提供从Flow Launcher中执行命令行的能力,命令应该以>开头 此命令已经被执行了 {0} 次 执行此命令 以管理员身份运行 + 复制命令 + 仅显示最常用的命令数: \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml index 4811c6633..7444048f6 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Sys/Languages/zh-cn.xaml @@ -2,6 +2,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib"> + 命令 描述 @@ -14,6 +15,20 @@ 设置 休眠这台电脑 清空回收站 + 休眠计算机 + 保存所有Flow Launcher设置 + 用新内容刷新插件数据 + 打开Flow Launcher的日志目录 + 检查新的Flow Launcher更新 + 访问Flow Launcher的文档以获取更多帮助以及使用技巧 + 打开存储Flow Launcher设置的位置 + + + 成功 + 所有Flow Launcher设置已保存 + 重新加载了所有插件数据 + 您确定要关闭计算机吗? + 您确定要重新启动计算机吗? 系统命令 系统系统相关的命令。例如,关机,锁定,设置等 diff --git a/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml index 3d9f00fd4..661539793 100644 --- a/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Url/Languages/zh-cn.xaml @@ -2,10 +2,14 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib"> + 使用以下位置打开: + 新窗户 + 新标签 + 打开链接:{0} 无法打开链接:{0} - URL + 打开链接 从Flow Launcher打开链接 请设置你的浏览器路径: diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/zh-cn.xaml index 8c1898007..29c22cbb2 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/zh-cn.xaml @@ -2,6 +2,11 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib"> + 使用以下位置打开: + 新窗口 + 新标签页 + 设置浏览器路径: + 选择 删除 编辑 添加 @@ -13,7 +18,6 @@ 请选择一项 你确定要删除 {0} 吗? - 标题 启用 @@ -26,6 +30,7 @@ 请输入URL 触发关键字已经存在,请选择一个新的关键字 操作成功 + 提示:您不需要在此目录中放置自定义图像,当Flow更新时,该目录下内容将会丢失。 Flow会自动将此目录之外的所有图像复制到网页搜索的自定义图像位置。 网页搜索 提供网页搜索能力 From d17ec3cb39cee6e81ef9ec0f3c6f160b9d1d6389 Mon Sep 17 00:00:00 2001 From: solitudechn Date: Wed, 28 Apr 2021 22:56:41 +0800 Subject: [PATCH 13/18] Modify the plug-in version number as required --- Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Calculator/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Explorer/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.PluginsManager/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Program/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Shell/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Sys/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.Url/plugin.json | 2 +- Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json index f4a9beb28..7c4b61989 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/plugin.json @@ -4,7 +4,7 @@ "Name": "Browser Bookmarks", "Description": "Search your browser bookmarks", "Author": "qianlifeng, Ioannis G.", - "Version": "1.4.2", + "Version": "1.4.3", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.BrowserBookmark.dll", diff --git a/Plugins/Flow.Launcher.Plugin.Calculator/plugin.json b/Plugins/Flow.Launcher.Plugin.Calculator/plugin.json index d37a1d282..f7a130428 100644 --- a/Plugins/Flow.Launcher.Plugin.Calculator/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Calculator/plugin.json @@ -4,7 +4,7 @@ "Name": "Calculator", "Description": "Provide mathematical calculations.(Try 5*3-2 in Flow Launcher)", "Author": "cxfksword", - "Version": "1.1.6", + "Version": "1.1.7", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Caculator.dll", diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json index 376c273d0..6be1ed95d 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json @@ -7,7 +7,7 @@ "Name": "Explorer", "Description": "Search and manage files and folders. Explorer utilises Windows Index Search", "Author": "Jeremy Wu", - "Version": "1.7.5", + "Version": "1.7.7", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Explorer.dll", diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/plugin.json b/Plugins/Flow.Launcher.Plugin.PluginsManager/plugin.json index 7d32a40c5..a2894a584 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginsManager/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/plugin.json @@ -6,7 +6,7 @@ "Name": "Plugins Manager", "Description": "Management of installing, uninstalling or updating Flow Launcher plugins", "Author": "Jeremy Wu", - "Version": "1.7.1", + "Version": "1.7.2", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.PluginsManager.dll", diff --git a/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json b/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json index 7c6efaae4..d42f0fd54 100644 --- a/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.ProcessKiller/plugin.json @@ -4,7 +4,7 @@ "Name":"Process Killer", "Description":"Kill running processes from Flow", "Author":"Flow-Launcher", - "Version":"1.2.2", + "Version":"1.2.3", "Language":"csharp", "Website":"https://github.com/Flow-Launcher/Flow.Launcher.Plugin.ProcessKiller", "IcoPath":"Images\\app.png", diff --git a/Plugins/Flow.Launcher.Plugin.Program/plugin.json b/Plugins/Flow.Launcher.Plugin.Program/plugin.json index 48386118a..89243a843 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Program/plugin.json @@ -4,7 +4,7 @@ "Name": "Program", "Description": "Search programs in Flow.Launcher", "Author": "qianlifeng", - "Version": "1.4.4", + "Version": "1.4.5", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Program.dll", diff --git a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json index b43d43b32..740f53ce5 100644 --- a/Plugins/Flow.Launcher.Plugin.Shell/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Shell/plugin.json @@ -4,7 +4,7 @@ "Name": "Shell", "Description": "Provide executing commands from Flow Launcher", "Author": "qianlifeng", - "Version": "1.3.1", + "Version": "1.3.2", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Shell.dll", diff --git a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json index 290a6ea1d..b47aa33a4 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Sys/plugin.json @@ -4,7 +4,7 @@ "Name": "System Commands", "Description": "Provide System related commands. e.g. shutdown,lock, setting etc.", "Author": "qianlifeng", - "Version": "1.3.1", + "Version": "1.3.2", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Sys.dll", diff --git a/Plugins/Flow.Launcher.Plugin.Url/plugin.json b/Plugins/Flow.Launcher.Plugin.Url/plugin.json index c24a239f4..573bf421b 100644 --- a/Plugins/Flow.Launcher.Plugin.Url/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Url/plugin.json @@ -4,7 +4,7 @@ "Name": "URL", "Description": "Open the typed URL from Flow Launcher", "Author": "qianlifeng", - "Version": "1.1.4", + "Version": "1.1.5", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Url.dll", diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json index 3fedba30b..ea8b081c8 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json @@ -26,7 +26,7 @@ "Name": "Web Searches", "Description": "Provide the web search ability", "Author": "qianlifeng", - "Version": "1.3.7", + "Version": "1.3.8", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.WebSearch.dll", From 9c063e35f00ade4166d4af4ed1477c797fd9d71e Mon Sep 17 00:00:00 2001 From: solitudechn Date: Thu, 29 Apr 2021 09:25:02 +0800 Subject: [PATCH 14/18] Fix typos and wrong version numbers --- Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml | 2 +- Plugins/Flow.Launcher.Plugin.Explorer/plugin.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml index cd281cf24..c4a2322b2 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/zh-cn.xaml @@ -24,7 +24,7 @@ Explorer - 利用windiws索引来搜索和管理文件和文件夹。 + 利用Windows索引来搜索和管理文件和文件夹。 复制路径 diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json index 6be1ed95d..dd88611ac 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.Explorer/plugin.json @@ -7,7 +7,7 @@ "Name": "Explorer", "Description": "Search and manage files and folders. Explorer utilises Windows Index Search", "Author": "Jeremy Wu", - "Version": "1.7.7", + "Version": "1.7.6", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.Explorer.dll", From dd558fa5527ec8a10ceee9543a834479e9a64a95 Mon Sep 17 00:00:00 2001 From: Andrea Bergonzo Date: Tue, 4 May 2021 04:29:35 +0100 Subject: [PATCH 15/18] Fix broken link in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e482bd779..b3a24ac50 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Windows may complain about security due to code not being signed, this will be c ## Plugins -There is a [list of actively maintained plugins](https://github.com/Flow-Launcher/docs/Plugins.md) in the documentation section, some of which are integrated from other launchers. +There is a [list of actively maintained plugins](https://github.com/Flow-Launcher/docs/blob/main/Plugins.md) in the documentation section, some of which are integrated from other launchers. ## Status From 5ccf4c5694ff266a70c8cff26d70d92ffaa5d9c1 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 10 May 2021 20:15:33 +1000 Subject: [PATCH 16/18] fix action keyword when more than one query term is typed --- Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs | 5 +++++ Plugins/Flow.Launcher.Plugin.PluginIndicator/plugin.json | 2 +- .../Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs b/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs index 98e4d527a..190f40a03 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs @@ -10,6 +10,11 @@ namespace Flow.Launcher.Plugin.PluginIndicator public List Query(Query query) { + // if query contains more than one word, eg. github tips + // user has decided to type something else rather than wanting to see the available action keywords + if (query.Terms.Length > 1) + return new List(); + var results = from keyword in PluginManager.NonGlobalPlugins.Keys where keyword.StartsWith(query.Terms[0]) let metadata = PluginManager.NonGlobalPlugins[keyword].Metadata diff --git a/Plugins/Flow.Launcher.Plugin.PluginIndicator/plugin.json b/Plugins/Flow.Launcher.Plugin.PluginIndicator/plugin.json index 7f73263a8..d2197d700 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginIndicator/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.PluginIndicator/plugin.json @@ -4,7 +4,7 @@ "Name": "Plugin Indicator", "Description": "Provide plugin actionword suggestion", "Author": "qianlifeng", - "Version": "1.1.2", + "Version": "1.1.3", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.PluginIndicator.dll", diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs b/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs index e671e2e91..811eb7e25 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs @@ -214,7 +214,6 @@ namespace Flow.Launcher.Plugin.PluginsManager } }; - var results = resultsForUpdate .Select(x => new Result From fd0471bff5516b668d67cbcca7e18e76e5baa354 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 10 May 2021 21:41:37 +1000 Subject: [PATCH 17/18] fix excluded and quick access path display in settings --- .../Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml index 13d46394c..b4795ec8b 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml @@ -9,12 +9,12 @@ From 9957773ff99b157e9ca8346d09067c8daaadf6e4 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Mon, 10 May 2021 21:43:21 +1000 Subject: [PATCH 18/18] adjusted Explorer plugin's excluded and quick access control height --- .../Views/ExplorerSettings.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs index 5d2980c55..26f169c92 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs @@ -108,7 +108,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views private void expActionKeywords_Click(object sender, RoutedEventArgs e) { if (expActionKeywords.IsExpanded) - expActionKeywords.Height = 215; + expActionKeywords.Height = 205; if (expExcludedPaths.IsExpanded) expExcludedPaths.IsExpanded = false; @@ -128,7 +128,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views private void expAccessLinks_Click(object sender, RoutedEventArgs e) { if (expAccessLinks.IsExpanded) - expAccessLinks.Height = 215; + expAccessLinks.Height = 205; if (expExcludedPaths.IsExpanded) expExcludedPaths.IsExpanded = false;