🐛 提示全局更新
This commit is contained in:
4
bin/helpers/updater.ts
vendored
4
bin/helpers/updater.ts
vendored
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user