From b036c9d490a8403ff9e99bad5026a86795496aa0 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 26 Jul 2022 14:31:46 -0700 Subject: [PATCH] Remove updated.vue for now --- packages/client/src/components/updated.vue | 2 +- packages/client/src/init.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/updated.vue b/packages/client/src/components/updated.vue index 1c1e5f4aed..0dd4406401 100644 --- a/packages/client/src/components/updated.vue +++ b/packages/client/src/components/updated.vue @@ -21,7 +21,7 @@ const modal = ref>(); const whatIsNew = () => { modal.value.close(); - window.open(`https://misskey-hub.net/docs/releases.html#_${version.replace(/\./g, '-')}`, '_blank'); + window.open('https://codeberg.org/thatonecalculator/calckey/releases', '_blank'); }; diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 94e7f9f6b3..896dfe295b 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -237,6 +237,7 @@ import { getAccountFromId } from '@/scripts/get-account-from-id'; // テーマリビルドするため localStorage.removeItem('theme'); + /* try { // 変なバージョン文字列来るとcompareVersionsでエラーになるため if (lastVersion != null && compareVersions(version, lastVersion) === 1) { // ログインしてる場合だけ @@ -246,6 +247,7 @@ import { getAccountFromId } from '@/scripts/get-account-from-id'; } } catch (err) { } + */ } // NOTE: この処理は必ず↑のクライアント更新時処理より後に来ること(テーマ再構築のため)