Skip to content

Commit f8f0cbc

Browse files
authored
Merge pull request #70 from Tech-FZ/new-sysreq-notice-2025
New sysreq notice 2025
2 parents 09c152d + 30d965a commit f8f0cbc

File tree

5 files changed

+42
-4
lines changed

5 files changed

+42
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353

5454
- The new Fatima Nejla banner has been added.
5555

56+
### System requirement branch
57+
58+
- You are now notified via a dialog should your system become unsupported.
59+
- Formatting fixed.
60+
- "Learn more" button added.
61+
5662
## Known issues
5763

5864
- Unfortunately, you might have to run EmuGUI from the terminal on Linux.

dialogExecution/win81NearEOS.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
from uiScripts.ui_Win81SupportNearsEnd import Ui_Dialog
22
from PySide6.QtWidgets import *
33
from PySide6 import QtGui
4+
import webbrowser
45

56
class Win812012R2NearEOS(QDialog, Ui_Dialog):
67
def __init__(self, parent = None):
78
super().__init__(parent)
89
self.setupUi(self)
910
self.setWindowTitle("EmuGUI - OS Support")
11+
12+
eolText = """
13+
Starting 11th November, 2025, your PC as it is right now will no longer be supported.
14+
You will need the following specifications for your host system to remain supported:
15+
- Windows 10 1607, Server 2016 or the latest version of your Linux distribution (amd64)
16+
- 4-threaded CPU
17+
- 8 GB of RAM your OS can share with running applications
18+
- 4 GB of free hard disk space
19+
20+
Please visit the GitHub repository to learn more.
21+
"""
1022

1123
try:
1224
self.setWindowIcon(QtGui.QIcon("EmuGUI.png"))
@@ -15,6 +27,11 @@ def __init__(self, parent = None):
1527
pass
1628

1729
self.connectSignalsSlots()
30+
self.label.setText(eolText)
1831

1932
def connectSignalsSlots(self):
20-
self.pushButton.clicked.connect(self.close)
33+
self.pushButton.clicked.connect(self.close)
34+
self.learnMoreBtn.clicked.connect(self.learnMore)
35+
36+
def learnMore(self):
37+
webbrowser.open("https://github.com/Tech-FZ/EmuGUI/wiki/EmuGUI-receiving-higher-hardware-requirements-starting-11th-November,-2025")

emugui.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ def __init__(self, parent=None):
282282

283283
if (os.cpu_count() < 4 or round(psutil.virtual_memory().total / (1024 ** 3), 2) < 7.84 or (platform.system() == "Windows" and sys.getwindowsversion().build < 14393)):
284284
self.label_8.setText(self.label_8.text() + f"\nYour computer will be unsupported in its current form starting 11th November, 2025. Please check the logs, your system information and your upgrade/replacement options to see what you can do to keep using EmuGUI properly.")
285+
dialog = Win812012R2NearEOS(self)
286+
dialog.show()
285287

286288
def resizeEvent(self, event: QtGui.QResizeEvent):
287289
super().resizeEvent(event)

ui/Win81SupportNearsEnd.ui

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
</property>
5656
</widget>
5757
</item>
58+
<item row="2" column="0">
59+
<widget class="QPushButton" name="learnMoreBtn">
60+
<property name="text">
61+
<string>Learn more</string>
62+
</property>
63+
</widget>
64+
</item>
5865
</layout>
5966
</widget>
6067
</widget>

uiScripts/ui_Win81SupportNearsEnd.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# -*- coding: utf-8 -*-
22

33
################################################################################
4-
## Form generated from reading UI file 'Win81SupportNearsEnd.ui'
4+
## Form generated from reading UI file 'Win81SupportNearsEndHfaJdn.ui'
55
##
6-
## Created by: Qt User Interface Compiler version 6.4.1
6+
## Created by: Qt User Interface Compiler version 6.8.0
77
##
88
## WARNING! All changes made in this file will be lost when recompiling UI file!
99
################################################################################
@@ -43,6 +43,11 @@ def setupUi(self, Dialog):
4343

4444
self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
4545

46+
self.learnMoreBtn = QPushButton(self.gridLayoutWidget)
47+
self.learnMoreBtn.setObjectName(u"learnMoreBtn")
48+
49+
self.gridLayout.addWidget(self.learnMoreBtn, 2, 0, 1, 1)
50+
4651

4752
self.retranslateUi(Dialog)
4853

@@ -51,7 +56,8 @@ def setupUi(self, Dialog):
5156

5257
def retranslateUi(self, Dialog):
5358
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None))
54-
self.label.setText(QCoreApplication.translate("Dialog", u"If you got EmuGUI running on Windows 8.1 or Windows Server 2012 R2, congratulations. Unfortunately, these OSes aren't supported anymore.", None))
59+
self.label.setText(QCoreApplication.translate("Dialog", u"Sorry to notify you but Windows 8.1 and Windows Server 2012 R2 are only supported until February 14th, 2023.", None))
5560
self.pushButton.setText(QCoreApplication.translate("Dialog", u"OK", None))
61+
self.learnMoreBtn.setText(QCoreApplication.translate("Dialog", u"Learn more", None))
5662
# retranslateUi
5763

0 commit comments

Comments
 (0)