Fix reading text from clipboard via electron fill
This commit is contained in:
parent
3fae68bbab
commit
c6a46e4753
@ -182,6 +182,10 @@ class Clipboard {
|
|||||||
public writeText(value: string): Promise<void> {
|
public writeText(value: string): Promise<void> {
|
||||||
return clipboard.writeText(value);
|
return clipboard.writeText(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public readText(): Promise<string> {
|
||||||
|
return clipboard.readText();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Shell {
|
class Shell {
|
||||||
|
Loading…
Reference in New Issue
Block a user