From 47571c49469eaf681b270563773320f7474dd0b1 Mon Sep 17 00:00:00 2001 From: a1mer Date: Sun, 28 Jan 2024 13:45:30 +0800 Subject: [PATCH] bump 0.5.5 --- dist/aliyundrive-rename.user.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/aliyundrive-rename.user.js b/dist/aliyundrive-rename.user.js index c546bb9..15ad0d2 100644 --- a/dist/aliyundrive-rename.user.js +++ b/dist/aliyundrive-rename.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name 阿里云盘批量重命名 // @namespace vite-plugin-monkey -// @version 0.5.4 +// @version 0.5.5 // @author a1mersnow // @description 批量重命名阿里云盘里的文件 // @license GPL @@ -528,7 +528,7 @@ } const name = "aliyundrive-rename"; const type = "module"; - const version = "0.5.4"; + const version = "0.5.5"; const packageManager = "pnpm@8.15.0"; const description = "Batch rename files of aliyundrive."; const author = "a1mersnow"; @@ -598,7 +598,7 @@ const currentVersion = pkg.version; const newVersion = vue.ref(""); const msg = vue.computed(() => { - if (currentVersion === newVersion.value) + if (!newVersion.value || currentVersion === newVersion.value) return ""; else return `有新版本(${newVersion.value})啦!点击更新~`; diff --git a/package.json b/package.json index fc10df5..d72e1eb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aliyundrive-rename", "type": "module", - "version": "0.5.4", + "version": "0.5.5", "private": true, "packageManager": "pnpm@8.15.0", "description": "Batch rename files of aliyundrive.",