clipboard tool as a requirement

This commit is contained in:
nadrad 2022-09-15 10:04:35 +02:00
parent 59e89e5ebf
commit 265992fc4f
2 changed files with 3 additions and 1 deletions

2
h-m-m
View file

@ -185,7 +185,7 @@ function check_the_available_clipboard_tool(&$mm)
if (trim($tool)==='')
{
echo "Can't find your clipboard tool! I expected to find xclip, xsel, or wl-copy.\n";
echo "Can't find your clipboard tool! I expected to find xclip, xsel, or wl-clipboard.\n";
exit;
}

View file

@ -114,6 +114,8 @@ After downloading or cloning, you can run `php h-m-m` in your terminal to run th
Optionally, you can make the file executable by running the `chmod +x h-m-m` in your terminal, and afterward, you can run it as `h-m-m filename` (assuming that **h-m-m** is in your path).
In Linux, you need to have `xclip`, `xsel`, or `wl-clipboard` installed as well.
# Troubleshooting