From 6fe13463fae1c0b7411ba1d84e817c73e794cdff Mon Sep 17 00:00:00 2001 From: Hipstercat Date: Thu, 23 Dec 2021 15:22:10 +0100 Subject: [PATCH] Fix #1 --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 25d6f6a..1dce7b2 100644 --- a/main.py +++ b/main.py @@ -6,7 +6,7 @@ import socket import zlib import sys from PySide6.QtCore import QThread, QTimer, Signal -from PySide6.QtWidgets import QApplication, QMainWindow, QFileDialog +from PySide6.QtWidgets import QApplication, QMainWindow, QFileDialog, QMessageBox from lib.enumresponse import EnumResponse from lib.giantsenumresponseparser import GiantsEnumResponseParser from lib.packet import Packet @@ -132,6 +132,7 @@ def read_configuration(): global CONFIG if not os.path.exists(config_file): # create it + QMessageBox.information(None, "GMD - Giants Maps Downloader", "Welcome to GMD!\n\nThis tool runs in the background to automatically download and upload hosted maps. For this to work, GMD needs to know where maps must be installed.\n\nPlease select where Giants.exe is after clicking OK.", QMessageBox.Ok) giants_exe_path, _filename = QFileDialog.getOpenFileName(None, caption="Open Giants.exe", filter="Giants.exe") if not giants_exe_path: sys.exit(1)