mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 11:33:48 +08:00
commit
38a2c3a945
@ -216,7 +216,7 @@ func UpdateFromStream(updateWith io.Reader) (err error, errRecover error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// move the new exectuable in to become the new program
|
// move the new executable in to become the new program
|
||||||
err = os.Rename(newPath, updatePath)
|
err = os.Rename(newPath, updatePath)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user