-
v0.1.0
+
v{appVersion}
{checking && (
⟳
diff --git a/src/utils/app-utils.ts b/src/utils/app-utils.ts
new file mode 100644
index 000000000..9bd7ce6af
--- /dev/null
+++ b/src/utils/app-utils.ts
@@ -0,0 +1,16 @@
+import { getVersion } from "@tauri-apps/api/app";
+
+/**
+ * Fetches the raw application version from Tauri API without 'v' prefix
+ * @returns Promise - Raw application version (e.g., "1.0.0")
+ */
+export const fetchRawAppVersion = async (): Promise => {
+ try {
+ const version = await getVersion();
+ return version;
+ } catch (error) {
+ console.error("Failed to fetch app version:", error);
+ // Return default version if fetching fails
+ return "0.1.0";
+ }
+};