diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-10 23:26:21 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-10 23:26:21 +0200 |
commit | 54e5b393128f6df4c013ff0866349cce4291d7b5 (patch) | |
tree | 27a9b9fa12dff3579aed72fd78bfe7ef5e141688 /src-ui/src/main.ts | |
parent | 9d3f82e13a73998f508ba65ef4076fb79982b13c (diff) | |
download | FlightCore-54e5b393128f6df4c013ff0866349cce4291d7b5.tar.gz FlightCore-54e5b393128f6df4c013ff0866349cce4291d7b5.zip |
Move get host OS function to lib.rs
Diffstat (limited to 'src-ui/src/main.ts')
-rw-r--r-- | src-ui/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 |