This commit is contained in:
R5600U_PC 2024-05-22 10:10:10 +09:00
parent dcda2a4b54
commit 4e5b7ffa34
2 changed files with 7 additions and 7 deletions

12
delv.py
View File

@ -18,11 +18,11 @@ from src.kiprisThread import *
from src.result_widget import ResultWidget
from src.currencyInfo import ExchangeRateScraper
def minimize_console():
""" 콘솔 창을 최소화하는 함수 """
hwnd = ctypes.windll.kernel32.GetConsoleWindow()
if hwnd != 0:
ctypes.windll.user32.ShowWindow(hwnd, 6) # SW_MINIMIZE
# def minimize_console():
# """ 콘솔 창을 최소화하는 함수 """
# hwnd = ctypes.windll.kernel32.GetConsoleWindow()
# if hwnd != 0:
# ctypes.windll.user32.ShowWindow(hwnd, 6) # SW_MINIMIZE
class DeliveryFeeCalculator(QtWidgets.QWidget):
@ -1236,7 +1236,7 @@ class DeliveryFeeCalculator(QtWidgets.QWidget):
self.setComboBox()
if __name__ == '__main__':
minimize_console()
# minimize_console()
app = QtWidgets.QApplication(sys.argv)
app.setStyle('Fusion')

View File

@ -11,7 +11,7 @@ build_exe_options = {
# Target executable
target = Executable(
script="delv.py",
base="Console", # Use "Win32GUI" for a GUI application on Windows
base="Win32GUI", # Use "Win32GUI" for a GUI application on Windows
target_name="Deliver_Calc",
icon="delv.ico"
)