diff --git a/build.bat b/build.bat index 796dd92..668c09d 100644 --- a/build.bat +++ b/build.bat @@ -1,2 +1,2 @@ -pyinstaller install.py -F -i icon.ico -pyinstaller main.py -F -w -i icon.ico -n ss13rp \ No newline at end of file +PyInstaller install.py -F -i icon.ico +PyInstaller main.py -F -w -i icon.ico -n ss13rp --hidden-import=pywintypes \ No newline at end of file diff --git a/dist/install.exe b/dist/install.exe index 5db8fce..b17beb7 100644 Binary files a/dist/install.exe and b/dist/install.exe differ diff --git a/dist/ss13rp.exe b/dist/ss13rp.exe index 59eb93a..776e43b 100644 Binary files a/dist/ss13rp.exe and b/dist/ss13rp.exe differ diff --git a/main.py b/main.py index 1d89299..8918470 100644 --- a/main.py +++ b/main.py @@ -57,7 +57,7 @@ def get_server(): server = "ss13" return servers[server] - def get_content(entry, else_value): + def get_content(entry, else_value = ""): if entry in status and status[entry]: return status[entry] else: diff --git a/ss13rp.spec b/ss13rp.spec index f1c3987..f693e5a 100644 --- a/ss13rp.spec +++ b/ss13rp.spec @@ -9,7 +9,7 @@ a = Analysis( pathex=[], binaries=[], datas=[], - hiddenimports=[], + hiddenimports=['pywintypes'], hookspath=[], hooksconfig={}, runtime_hooks=[],