Skip to content

Commit

Permalink
fix: 关闭自动更新提升
Browse files Browse the repository at this point in the history
close #403
  • Loading branch information
giscafer committed Nov 4, 2023
1 parent bacd144 commit 0954bba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ src
│ ├── remindNotification.ts
│ ├── telemetry.ts
│ ├── typed.ts
│ ├── update.ts
│ └── utils.ts
├── statusbar # 状态栏
│ ├── Profit.ts
Expand Down
6 changes: 3 additions & 3 deletions src/registerCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -596,7 +596,7 @@ export function registerViewEvent(
globalState.immersiveBackground = isChecked;
})
);
checkForUpdate();
// checkForUpdate();
}

export function registerCommandPaletteEvent(context: ExtensionContext, statusbar: StatusBar) {
Expand All @@ -605,4 +605,4 @@ export function registerCommandPaletteEvent(context: ExtensionContext, statusbar
statusbar.toggleVisibility();
})
);
}
}

0 comments on commit 0954bba

Please sign in to comment.