fix(ags clipboard): treat binary clips as text
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-08-01 13:44:49 -04:00
parent 28615e8152
commit 71058f3ea6

View file

@ -48,7 +48,7 @@ class Clipboard extends Service {
private async _decodeItem(index: string): Promise<string | null> {
try {
const decodedItem = await execAsync([
'bash', '-c', `cliphist list | grep ${index} | cliphist decode`,
'bash', '-c', `cliphist list | grep -a ${index} | cliphist decode`,
]);
this._decrementClipsLeft();