Обновить execute.py

This commit is contained in:
2025-03-29 15:33:02 +03:00
parent 9d8bca9bd3
commit 029d253160

View File

@@ -24,25 +24,25 @@ base64_string = 'AUTHORIZATION: basic ' + base64_bytes.decode("utf-8")
key = 'http.'+GITHUB_SERVER_URL+'/.extraheader'
value = '"'+base64_string+'"'
cmd = 'git config --global ' + key + ' ' + value
result = os.system(cmd)
print('result:' , result)
result = os.popen(cmd)
print('result:' , result.read())
key = 'url.'+GITHUB_SERVER_URL+'/.insteadOf'
value = '"git@'+'codex.r10x.net'+'"'
cmd = 'git config --global ' + key + ' ' + value
result = os.system(cmd)
print('result:' , result)
result = os.popen(cmd)
print('result:' , result.read())
cmd = 'git config list '
result = os.system(cmd)
print('result:' , result)
result = os.popen(cmd)
print('result:' , result.read())
cmd = 'git clone ' + \
GITHUB_SERVER_URL + '/' + \
GITHUB_REPOSITORY
print('cmd:', cmd)
result = os.system(cmd)
print('result:' , result)
result = os.popen(cmd)
print('result:' , result.read())
print(f"Encoded string: {base64_string}")
print('#'*80)