diff --git a/apps/app-frontend/src/helpers/update.js b/apps/app-frontend/src/helpers/update.js index 08ca0c39..19750e5c 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:`]