去除插件强制更新,避免用户修改数据被强制更改回去
This commit is contained in:
parent
44a01bf838
commit
c022194e4a
|
@ -108,7 +108,9 @@ export class update extends plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (plugin) {
|
if (plugin) {
|
||||||
cm = `git -C ./plugins/${plugin}/ fetch --all && git -C ./plugins/${plugin}/ reset --hard && git -C ./plugins/${plugin}/ pull`
|
cm = `git -C ./plugins/${plugin}/ pull --no-rebase`
|
||||||
|
// 请带上脑子来水pr
|
||||||
|
// cm = `git -C ./plugins/${plugin}/ fetch --all && git -C ./plugins/${plugin}/ reset --hard && git -C ./plugins/${plugin}/ pull`
|
||||||
}
|
}
|
||||||
|
|
||||||
this.oldCommitId = await this.getcommitId(plugin)
|
this.oldCommitId = await this.getcommitId(plugin)
|
||||||
|
|
Loading…
Reference in New Issue