Skip to content

Commit d7a29e5

Browse files
committed
Revert "Delete CopyToClipboard function in JsonRPC api"
This reverts commit 9f8e829.
1 parent 9f8e829 commit d7a29e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Flow.Launcher.Core/Plugin/JsonRPCV2Models/JsonRPCPublicAPI.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ public void ShellRun(string cmd, string filename = "cmd.exe")
3434
_api.ShellRun(cmd, filename);
3535
}
3636

37+
public void CopyToClipboard(string text, bool directCopy = false, bool showDefaultNotification = true)
38+
{
39+
_api.CopyToClipboard(text, directCopy, showDefaultNotification);
40+
}
41+
3742
public void SaveAppAllSettings()
3843
{
3944
_api.SaveAppAllSettings();

0 commit comments

Comments
 (0)