diff --git a/src/pages/Config.vue b/src/pages/Config.vue
index b03f57b6..28609635 100644
--- a/src/pages/Config.vue
+++ b/src/pages/Config.vue
@@ -39,6 +39,24 @@
{{ achievementsStore.last_version }}
+
+
+
+
+ mdi-desktop-classic
+
+
+ {{ osPlatform }}
+
+
+
+
+ mdi-desktop-classic
+
+
+ {{ osVersion }}
+
+
@@ -107,7 +125,7 @@ import { onMounted, ref } from "vue";
import TLoading from "../components/t-loading.vue";
import TConfirm from "../components/t-confirm.vue";
// tauri
-import { dialog, fs, app } from "@tauri-apps/api";
+import { dialog, fs, app, os } from "@tauri-apps/api";
// store
import useAppStore from "../store/modules/app";
import useHomeStore from "../store/modules/home";
@@ -126,6 +144,10 @@ const achievementsStore = useAchievementsStore();
const versionApp = ref("" as string);
const versionTauri = ref("" as string);
+// About OS
+const osPlatform = ref("" as string);
+const osVersion = ref("" as string);
+
// loading
const loading = ref(true as boolean);
@@ -146,6 +168,8 @@ const confirmShow = ref(false as boolean);
onMounted(async () => {
versionApp.value = await app.getVersion();
versionTauri.value = await app.getTauriVersion();
+ osPlatform.value = `${await os.platform()}`;
+ osVersion.value = await os.version();
setTimeout(() => {
loading.value = false;
}, 1000);