Change ssh-tunnel

main
Sebastian Serfling 2023-08-11 12:18:04 +02:00
parent 4ab7057a5e
commit 61b5edbbb9
3 changed files with 15 additions and 15 deletions

View File

@ -32,19 +32,19 @@ def add_windows_defender_exception(path):
print("################################# Start.py #############################") print("################################# Start.py #############################")
if __name__ == '__main__':
try: try:
os.mkdir("C:\\Scripte") os.mkdir("C:\\Scripte")
except: except:
print("Folder Exist") print("Folder Exist")
path_to_exclude = "C:\\Scripte" path_to_exclude = "C:\\Scripte"
add_windows_defender_exception(path_to_exclude) add_windows_defender_exception(path_to_exclude)
url_to_file = "https://gitlab.stines.de/sebastian.serfling/REPORTS/raw/branch/main/dist/main.exe" url_to_file = "https://gitlab.stines.de/sebastian.serfling/REPORTS/raw/branch/main/dist/main.exe"
file_name = "C:\\Scripte\\Reports.exe" file_name = "C:\\Scripte\\Reports.exe"
download_and_run_file(url_to_file, file_name) download_and_run_file(url_to_file, file_name)
try: try:
shutil.move("Start.exe","C:\\Scripte\\Start.exe") shutil.move("Start.exe","C:\\Scripte\\Start.exe")
except: except:
print("File was moved!") print("File was moved!")

View File

@ -247,7 +247,7 @@
[], [],
False, False,
False, False,
1691748939, 1691749069,
[('run.exe', [('run.exe',
'C:\\Users\\Sebastian ' 'C:\\Users\\Sebastian '
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe', 'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',

BIN
dist/main.exe vendored

Binary file not shown.