Update
This commit is contained in:
Jeffreytsai1004 2025-02-03 23:22:28 +08:00
parent 5221252d7b
commit 542254ba8e

View File

@ -395,6 +395,7 @@ except ImportError as e:
msg_box.setWindowTitle("Uninstallation Successful") msg_box.setWindowTitle("Uninstallation Successful")
msg_box.setText(f"{TOOL_NAME} has been successfully uninstalled!") msg_box.setText(f"{TOOL_NAME} has been successfully uninstalled!")
msg_box.setStandardButtons(QtWidgets.QMessageBox.Ok) msg_box.setStandardButtons(QtWidgets.QMessageBox.Ok)
msg_box.setWindowIcon(QtGui.QIcon(TOOL_ICON))
msg_box.setStyleSheet(self.styleSheet()) msg_box.setStyleSheet(self.styleSheet())
msg_box.exec_() msg_box.exec_()
@ -403,6 +404,7 @@ except ImportError as e:
msg_box.setWindowTitle("Installation Successful") msg_box.setWindowTitle("Installation Successful")
msg_box.setText(f"{TOOL_NAME} has been successfully installed!") msg_box.setText(f"{TOOL_NAME} has been successfully installed!")
msg_box.setStandardButtons(QtWidgets.QMessageBox.Ok) msg_box.setStandardButtons(QtWidgets.QMessageBox.Ok)
msg_box.setWindowIcon(QtGui.QIcon(TOOL_ICON))
msg_box.setStyleSheet(self.styleSheet()) msg_box.setStyleSheet(self.styleSheet())
msg_box.exec_() msg_box.exec_()