Change ssh-tunnel
parent
4ab7057a5e
commit
61b5edbbb9
28
Start.py
28
Start.py
|
|
@ -32,20 +32,20 @@ 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!")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue