tauri-app: use patch version from recorded game; or latest
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m11s

This commit is contained in:
2026-05-17 16:25:04 +02:00
parent 8138b542b7
commit f9ff272798
5 changed files with 164 additions and 21 deletions

View File

@@ -1,9 +1,10 @@
<script setup lang="ts">
import { ref } from "vue";
import { ref, onMounted } from "vue";
import GameHistory from "./components/GameHistory.vue";
import GameReview from "./components/GameReview.vue";
import Settings from "./components/Settings.vue";
import type { GameHistoryItem } from "./types/timeline";
import { fetchLatestDdragonVersion } from "./types/ddragon";
// Current view state
const currentView = ref<"history" | "review" | "settings">("history");
@@ -30,6 +31,11 @@ function openSettings() {
function closeSettings() {
currentView.value = "history";
}
// Initialize DDragon version on app mount
onMounted(() => {
fetchLatestDdragonVersion();
});
</script>
<template>