feat: close #1994 add clipboard write api

This commit is contained in:
Yidadaa
2023-06-29 00:27:18 +08:00
parent ea6926cad3
commit 98afd5516b
4 changed files with 27 additions and 5 deletions

6
app/global.d.ts vendored
View File

@@ -9,3 +9,9 @@ declare module "*.scss" {
}
declare module "*.svg";
declare interface Window {
__TAURI__?: {
writeText(text: string): Promise<void>;
};
}