Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Commit 7de71eb

Browse files
authored
Merge pull request #38 from Flow-Launcher/fix_clipboard_crash
Fix clipboard crash & typos
2 parents ab702a2 + 9c75dba commit 7de71eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Languages/en.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<system:String x:Key="flowlauncher_plugin_everything_launch_hidden">Launch hidden</system:String>
2222

2323

24-
<system:String x:Key="flowlauncher_plugin_everything_customized_tooltip">You can customized the explorer for opening the containing folder by inputing the Environmental Variable or the Absolute Path of the explorer you want to use. It will be useful to use CMD to test whether the it is avaliable.</system:String>
24+
<system:String x:Key="flowlauncher_plugin_everything_customized_tooltip">You can customize the opening of the containing folder by inputing the Environmental Variable or the Absolute Path of the File Explorer you want to use. It will be useful to use CMD to test whether the it is available.</system:String>
2525
<system:String x:Key="flowlauncher_plugin_everything_customized_title">Customized Explorer</system:String>
2626
<system:String x:Key="flowlauncher_plugin_everything_customized_args">Args</system:String>
2727
<system:String x:Key="flowlauncher_plugin_everything_customized_args_tooltip">Enter the customized args you want to add for customized explorer. %s represent directory path (parent directory for file or directory itself). %f represent file path (only work for file).</system:String>

Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public List<Result> Query(Query query)
7373
SubTitle = e.Message,
7474
Action = _ =>
7575
{
76-
Clipboard.SetText(e.Message + "\r\n" + e.StackTrace);
76+
Clipboard.SetDataObject(e.Message + "\r\n" + e.StackTrace);
7777
_context.API.ShowMsg(_context.API.GetTranslation("flowlauncher_plugin_everything_copied"), null, string.Empty);
7878
return false;
7979
},
@@ -328,7 +328,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
328328
Title = _context.API.GetTranslation("flowlauncher_plugin_everything_copy_path"),
329329
Action = (context) =>
330330
{
331-
Clipboard.SetText(record.FullPath);
331+
Clipboard.SetDataObject(record.FullPath);
332332
return true;
333333
},
334334
IcoPath = icoPath

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Name": "Everything",
55
"Description": "Search Everything",
66
"Author": "qianlifeng,orzfly",
7-
"Version": "1.5.5",
7+
"Version": "1.5.6",
88
"Language": "csharp",
99
"Website": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.Everything",
1010
"IcoPath": "Images\\find.png",

0 commit comments

Comments
 (0)