This commit is contained in:
Amazed 2021-12-23 15:22:10 +01:00
parent 30f838008c
commit 6fe13463fa
1 changed files with 2 additions and 1 deletions

View File

@ -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)