From 54e5b393128f6df4c013ff0866349cce4291d7b5 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Sat, 10 Sep 2022 23:26:21 +0200 Subject: Move get host OS function to lib.rs --- src-ui/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-ui') diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts index 98a772ad..fb61ac4a 100644 --- a/src-ui/src/main.ts +++ b/src-ui/src/main.ts @@ -201,7 +201,7 @@ document.addEventListener("DOMContentLoaded", async function () { // Get version number let version_number_string = await invoke("get_version_number") as string; // Get host OS - let host_os_string = await invoke("get_host_os") as string; + let host_os_string = await invoke("get_host_os_caller") as string; versionNumberHolderEl.textContent = `${version_number_string} (${host_os_string})`; // Get install location -- cgit v1.2.3