🐛 提示全局更新
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
|
// @ts-expect-error
|
||||||
import packageJson from '../../package.json';
|
import packageJson from '../../package.json';
|
||||||
|
|
||||||
export async function checkUpdateTips() {
|
export async function checkUpdateTips () {
|
||||||
updateNotifier({ pkg: packageJson }).notify();
|
updateNotifier({ pkg: packageJson }).notify({ isGlobal: true });
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pake-cli",
|
"name": "pake-cli",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user