aboutsummaryrefslogtreecommitdiff
path: root/src-ui/src
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-22 17:08:25 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-22 17:08:25 +0200
commitbc0c8ead3f120402ada48780d1be42259384e0f4 (patch)
tree9a735609b5be265f0df9221056e96137a6f4749f /src-ui/src
parent0dd0cf6f370abb602399b94711e6eff1002ddfcf (diff)
downloadFlightCore-bc0c8ead3f120402ada48780d1be42259384e0f4.tar.gz
FlightCore-bc0c8ead3f120402ada48780d1be42259384e0f4.zip
Add initial functionality to get NS log files
Diffstat (limited to 'src-ui/src')
-rw-r--r--src-ui/src/main.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts
index dd28fedc..0505f0c2 100644
--- a/src-ui/src/main.ts
+++ b/src-ui/src/main.ts
@@ -301,4 +301,20 @@ document.addEventListener("DOMContentLoaded", async function () {
alert(error);
omniButtonEl.textContent = button_manual_find_string;
});
+
+
+ // --- This should be moved and is only placed here temporarily -----
+ let game_install = {
+ game_path: globalState.gamepath,
+ install_type: installTypeHolderEl.textContent
+ } as GameInstall;
+ await invoke("get_log_list_caller", { gameInstall: game_install })
+ .then((message) => {
+ console.log(message);
+ })
+ .catch((error) => {
+ console.error(error);
+ });
+ // ------------------------------------------------------------------
+
})