From bff9ad34367e4b5693be39eee441ed85bf1800c6 Mon Sep 17 00:00:00 2001 From: Kenny <27463495+Frontesque@users.noreply.github.com> Date: Sat, 18 Jun 2022 08:36:14 -0400 Subject: [PATCH] feat: :sparkles: start update screen --- NUXT/pages/activities/install.vue | 1 + NUXT/pages/activities/update.vue | 44 ++++++++++++++++++++++++++----- NUXT/pages/index.vue | 2 ++ 3 files changed, 40 insertions(+), 7 deletions(-) diff --git a/NUXT/pages/activities/install.vue b/NUXT/pages/activities/install.vue index 7273e84..e05a18e 100644 --- a/NUXT/pages/activities/install.vue +++ b/NUXT/pages/activities/install.vue @@ -76,6 +76,7 @@ import language from '~/components/Settings/language.vue'; this.stage++; if (!this.$refs["stage"+this.stage]) { + localStorage.setItem("lastRunVersion", process.env.appVersion) localStorage.setItem("firstTimeSetupComplete", true) this.$router.replace('/'); } diff --git a/NUXT/pages/activities/update.vue b/NUXT/pages/activities/update.vue index d24ce66..cce0502 100644 --- a/NUXT/pages/activities/update.vue +++ b/NUXT/pages/activities/update.vue @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/NUXT/pages/index.vue b/NUXT/pages/index.vue index cc20b21..1469aff 100644 --- a/NUXT/pages/index.vue +++ b/NUXT/pages/index.vue @@ -30,6 +30,8 @@ export default { await this.$vuetube.launchBackHandling(); this.progressMsg = this.$lang("index").launching; + localStorage.setItem("lastRunVersion", process.env.appVersion) + if (localStorage.getItem("firstTimeSetupComplete")) { this.$router.replace('/'+ (localStorage.getItem("startPage") || "home") ); // Normal Load } else {