Change ssh-tunnel
parent
4ab7057a5e
commit
61b5edbbb9
20
Start.py
20
Start.py
|
|
@ -32,19 +32,19 @@ def add_windows_defender_exception(path):
|
|||
|
||||
|
||||
print("################################# Start.py #############################")
|
||||
|
||||
try:
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
os.mkdir("C:\\Scripte")
|
||||
except:
|
||||
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:
|
||||
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:
|
||||
except:
|
||||
print("File was moved!")
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@
|
|||
[],
|
||||
False,
|
||||
False,
|
||||
1691748939,
|
||||
1691749069,
|
||||
[('run.exe',
|
||||
'C:\\Users\\Sebastian '
|
||||
'Serfling\\PycharmProjects\\server-info\\venv\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue