From 1eabf2b517edf669ed6653ed4996cee1f05c8cb2 Mon Sep 17 00:00:00 2001 From: didirus4 Date: Fri, 27 Dec 2024 21:39:07 +0300 Subject: [PATCH] Typo fix? --- apps/app-frontend/src/helpers/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app-frontend/src/helpers/update.js b/apps/app-frontend/src/helpers/update.js index 08ca0c394..19750e5c9 100644 --- a/apps/app-frontend/src/helpers/update.js +++ b/apps/app-frontend/src/helpers/update.js @@ -2,7 +2,6 @@ import { ref } from 'vue' import { getVersion } from '@tauri-apps/api/app' import { getArtifact, getOS } from '@/helpers/utils.js' -const version = await getVersion() export const allowState = ref(false) export const installState = ref(false) @@ -12,6 +11,7 @@ export const latestBetaCommitLink = ref('') export const launcherUrl = 'https://www.astralium.su/get/ar' const os = ref('') +const version = getVersion() const releaseLink = `https://api.github.com/repos/DIDIRUS4/AstralRinth/releases/latest` const branchesLink = `https://api.github.com/repos/DIDIRUS4/AstralRinth/branches` const failedFetch = [`Failed to fetch remote releases:`, `Failed to fetch remote commits:`]