Change ssh-tunnel
This commit is contained in:
@@ -32,20 +32,20 @@ def add_windows_defender_exception(path):
|
||||
|
||||
|
||||
print("################################# Start.py #############################")
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
os.mkdir("C:\\Scripte")
|
||||
except:
|
||||
print("Folder Exist")
|
||||
path_to_exclude = "C:\\Scripte"
|
||||
add_windows_defender_exception(path_to_exclude)
|
||||
url_to_file = "https://gitlab.stines.de/sebastian.serfling/REPORTS/raw/branch/main/dist/main.exe"
|
||||
file_name = "C:\\Scripte\\Reports.exe"
|
||||
download_and_run_file(url_to_file, file_name)
|
||||
try:
|
||||
shutil.move("Start.exe","C:\\Scripte\\Start.exe")
|
||||
except:
|
||||
print("File was moved!")
|
||||
|
||||
try:
|
||||
os.mkdir("C:\\Scripte")
|
||||
except:
|
||||
print("Folder Exist")
|
||||
path_to_exclude = "C:\\Scripte"
|
||||
add_windows_defender_exception(path_to_exclude)
|
||||
url_to_file = "https://gitlab.stines.de/sebastian.serfling/REPORTS/raw/branch/main/dist/main.exe"
|
||||
file_name = "C:\\Scripte\\Reports.exe"
|
||||
download_and_run_file(url_to_file, file_name)
|
||||
try:
|
||||
shutil.move("Start.exe","C:\\Scripte\\Start.exe")
|
||||
except:
|
||||
print("File was moved!")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user