chore: merge v1 into v2 for the last time

This commit is contained in:
FabianLars
2024-02-03 20:16:36 +01:00
parent 2643a4c331
commit 14f5961569
72 changed files with 1681 additions and 4863 deletions
+3 -2
View File
@@ -3,6 +3,7 @@
// SPDX-License-Identifier: MIT
import { invoke, Channel } from "@tauri-apps/api/core";
import { getCurrent } from "@tauri-apps/api/window";
interface ProgressPayload {
progress: number;
@@ -15,7 +16,7 @@ async function upload(
url: string,
filePath: string,
progressHandler?: ProgressHandler,
headers?: Map<string, string>,
headers?: Map<string, string>
): Promise<void> {
const ids = new Uint32Array(1);
window.crypto.getRandomValues(ids);
@@ -43,7 +44,7 @@ async function download(
url: string,
filePath: string,
progressHandler?: ProgressHandler,
headers?: Map<string, string>,
headers?: Map<string, string>
): Promise<void> {
const ids = new Uint32Array(1);
window.crypto.getRandomValues(ids);