mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 尝试修复升级后无法正确显示版本号问题
This commit is contained in:
parent
db5f57a73c
commit
d9b8cbede3
@ -65,7 +65,7 @@ export class Update extends plugin {
|
|||||||
let isForce = !!e.msg.includes("强制");
|
let isForce = !!e.msg.includes("强制");
|
||||||
|
|
||||||
// 保存配置文件
|
// 保存配置文件
|
||||||
await copyFiles(`./plugins/${Update.pluginName}/config`, "./temp/rconsole-update-tmp");
|
await copyFiles(`./plugins/${Update.pluginName}/config`, "./temp/rconsole-update-tmp", ['tools.yaml']);
|
||||||
|
|
||||||
let command = `git -C ./plugins/${Update.pluginName}/ pull --no-rebase`;
|
let command = `git -C ./plugins/${Update.pluginName}/ pull --no-rebase`;
|
||||||
if (isForce) {
|
if (isForce) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user