diff --git a/.gitignore b/.gitignore index 9f11b75..2d84ad1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ .idea/ +install.spec +start.spec +build/ diff --git a/dist/install.exe b/dist/install.exe new file mode 100644 index 0000000..a38de31 Binary files /dev/null and b/dist/install.exe differ diff --git a/dist/start.exe b/dist/start.exe new file mode 100644 index 0000000..392cada Binary files /dev/null and b/dist/start.exe differ diff --git a/src/install.py b/src/install.py index c01f5ad..bda9d75 100644 --- a/src/install.py +++ b/src/install.py @@ -3,7 +3,7 @@ import sys import zipfile import subprocess import loguru -# from loguru import logger +import elevate import shutil import psutil @@ -114,4 +114,5 @@ def start_install(): set_java_env() if __name__ == '__main__': + elevate.elevate() start_install()