mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-24 07:45:57 +02:00
v1.2.9: mermaid diagrams, math editor, external viewer, manual notebook sort, heading hotkeys
This commit is contained in:
@@ -278,6 +278,17 @@ export async function copyFileTo(
|
||||
return invoke("copy_file_to", { source, destination });
|
||||
}
|
||||
|
||||
export async function writeBytesTo(
|
||||
destination: string,
|
||||
data: Uint8Array,
|
||||
): Promise<void> {
|
||||
return invoke("write_bytes_to", { destination, data: Array.from(data) });
|
||||
}
|
||||
|
||||
export async function copyPngToClipboard(data: Uint8Array): Promise<void> {
|
||||
return invoke("copy_png_to_clipboard", { data: Array.from(data) });
|
||||
}
|
||||
|
||||
// ── Backup ──
|
||||
|
||||
export async function createBackup(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user