mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
keepass: pbpaste and pbcopy do not need to be replaced. Those are command builtin to MacOS
This commit is contained in:
parent
d3009e1ff3
commit
6842a7e725
1 changed files with 0 additions and 18 deletions
|
@ -56,24 +56,6 @@ diff --git a/KeePass/Util/ClipboardUtil.Unix.cs b/KeePass/Util/ClipboardUtil.Uni
|
|||
index ab49ee2..7f6c50f 100644
|
||||
--- a/KeePass/Util/ClipboardUtil.Unix.cs
|
||||
+++ b/KeePass/Util/ClipboardUtil.Unix.cs
|
||||
@@ -42,7 +42,7 @@ namespace KeePass.Util
|
||||
// string strGtk = GtkGetString();
|
||||
// if(strGtk != null) return strGtk;
|
||||
|
||||
- return (NativeLib.RunConsoleApp("pbpaste", "-pboard general") ??
|
||||
+ return (NativeLib.RunConsoleApp("@pbpaste@", "-pboard general") ??
|
||||
string.Empty);
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace KeePass.Util
|
||||
{
|
||||
// if(GtkSetString(str)) return;
|
||||
|
||||
- NativeLib.RunConsoleApp("pbcopy", "-pboard general", str);
|
||||
+ NativeLib.RunConsoleApp("@pbcopy@", "-pboard general", str);
|
||||
}
|
||||
|
||||
private static string GetStringU()
|
||||
@@ -62,7 +62,7 @@ namespace KeePass.Util
|
||||
// "-out -selection clipboard");
|
||||
// if(str != null) return str;
|
||||
|
|
Loading…
Reference in a new issue