|
|
@ -248,12 +248,20 @@ def __win_check_git_update(path, do_fetch=False, do_update=False): |
|
|
|
output, _ = process.communicate() |
|
|
|
output, _ = process.communicate() |
|
|
|
output = output.decode('utf-8').strip() |
|
|
|
output = output.decode('utf-8').strip() |
|
|
|
|
|
|
|
|
|
|
|
if "CUSTOM NODE CHECK: True" in output: |
|
|
|
if do_update: |
|
|
|
process.wait() |
|
|
|
if "CUSTOM NODE PULL: True" in output: |
|
|
|
return True |
|
|
|
process.wait() |
|
|
|
|
|
|
|
return True |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
process.wait() |
|
|
|
|
|
|
|
return False |
|
|
|
else: |
|
|
|
else: |
|
|
|
process.wait() |
|
|
|
if "CUSTOM NODE CHECK: True" in output: |
|
|
|
return False |
|
|
|
process.wait() |
|
|
|
|
|
|
|
return True |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
process.wait() |
|
|
|
|
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def __win_check_git_pull(path): |
|
|
|
def __win_check_git_pull(path): |
|
|
|