🐛 提示全局更新

This commit is contained in:
Tw93
2023-04-06 19:59:05 +08:00
parent 9ddc583635
commit 6d3222cb36
2 changed files with 3 additions and 3 deletions

View File

@@ -2,6 +2,6 @@ import updateNotifier from 'update-notifier';
// @ts-expect-error
import packageJson from '../../package.json';
export async function checkUpdateTips() {
updateNotifier({ pkg: packageJson }).notify();
export async function checkUpdateTips () {
updateNotifier({ pkg: packageJson }).notify({ isGlobal: true });
}