Merge branch 'main' into feat/cnr

This commit is contained in:
Dr.Lt.Data
2024-11-22 07:27:27 +09:00
12 changed files with 4070 additions and 2877 deletions

View File

@@ -1575,13 +1575,13 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
if do_update:
if "CUSTOM NODE PULL: Success" in output:
process.wait()
print(f"\rUpdated: {path}")
print(f"\x1b[2K\rUpdated: {path}")
return True, True # updated
elif "CUSTOM NODE PULL: None" in output:
process.wait()
return False, True # there is no update
else:
print(f"\rUpdate error: {path}")
print(f"\x1b[2K\rUpdate error: {path}")
process.wait()
return False, False # update failed
else:
@@ -1592,7 +1592,7 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
process.wait()
return False, True
else:
print(f"\rFetch error: {path}")
print(f"\x1b[2K\rFetch error: {path}")
print(f"\n{output}\n")
process.wait()
return False, True