From 0954bba6524e2f7a7bb27e02f1744c8be8cecee2 Mon Sep 17 00:00:00 2001 From: giscafer Date: Sat, 4 Nov 2023 10:02:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=B3=E9=97=AD=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8F=90=E5=8D=87=20close=20#403?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - src/registerCommand.ts | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3a785dd0..608ac3e9 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,6 @@ src │ ├── remindNotification.ts │ ├── telemetry.ts │ ├── typed.ts -│ ├── update.ts │ └── utils.ts ├── statusbar # 状态栏 │ ├── Profit.ts diff --git a/src/registerCommand.ts b/src/registerCommand.ts index abe65409..b106a913 100644 --- a/src/registerCommand.ts +++ b/src/registerCommand.ts @@ -13,7 +13,7 @@ import globalState from './globalState'; import FlashNewsOutputServer from './output/flash-news/FlashNewsOutputServer'; import { LeekFundConfig } from './shared/leekConfig'; import { LeekTreeItem } from './shared/leekTreeItem'; -import checkForUpdate from './shared/update'; +// import checkForUpdate from './shared/update'; import { colorOptionList, randomColor } from './shared/utils'; import allFundTrend from './webview/allFundTrend'; import donate from './webview/donate'; @@ -596,7 +596,7 @@ export function registerViewEvent( globalState.immersiveBackground = isChecked; }) ); - checkForUpdate(); + // checkForUpdate(); } export function registerCommandPaletteEvent(context: ExtensionContext, statusbar: StatusBar) { @@ -605,4 +605,4 @@ export function registerCommandPaletteEvent(context: ExtensionContext, statusbar statusbar.toggleVisibility(); }) ); -} \ No newline at end of file +}