🎨 Update detection time

This commit is contained in:
Tw93
2023-06-24 21:24:53 +08:00
parent 088e14ca29
commit e3df6dae88
3 changed files with 15 additions and 9 deletions

View File

@@ -2,5 +2,5 @@ import updateNotifier from 'update-notifier';
import packageJson from '../../package.json';
export async function checkUpdateTips() {
updateNotifier({ pkg: packageJson }).notify();
updateNotifier({ pkg: packageJson, updateCheckInterval: 1000 * 60 }).notify();
}