Skip to content

Commit a2b2722

Browse files
committed
Added EOL notify
1 parent 0582a4e commit a2b2722

File tree

9 files changed

+141
-5
lines changed

9 files changed

+141
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# EmuGUI v0.5.1
2+
3+
- Windows 8.1 and Windows Server 2012 R2 users are now notified about end of support for EmuGUI.
4+
- README.md has been updated as such.
5+
16
# EmuGUI v0.5
27

38
- Updated TESTED.md

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ code in Copilot.
3030
![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/img/GiveUpGitHub.png)
3131

3232
## System requirements
33-
OS: Windows 8.1, Windows Server 2012 R2 or later (x64); Ubuntu 20.04, Debian 10, openSUSE Leap 15.3, openSUSE Tumbleweed, Fedora 35, RHEL 7, Arch Linux or distributions based on those (x64)
33+
OS: Windows 8.1², Windows Server 2012 R2² or later (x64); Ubuntu 20.04, Debian 10, openSUSE Leap 15.3, openSUSE Tumbleweed, Fedora 35, RHEL 7, Arch Linux or distributions based on those (x64)
3434

3535
Python: 3.6 or newer
3636

@@ -42,6 +42,8 @@ HDD: 2 GB¹
4242

4343
¹ This is the absolute minimum, the required performance depends on the operating system system you want to run.
4444

45+
² We try to continue host support on Windows 8.1 and Windows Server 2012 R2 until at least 14th February, 2023.
46+
4547
## Dependencies
4648

4749
- Python 3
1.03 KB
Binary file not shown.

dialogExecution/win81NearEOS.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
from uiScripts.ui_Win81SupportNearsEnd import Ui_Dialog
2+
from PySide6.QtWidgets import *
3+
from PySide6 import QtGui
4+
5+
class Win812012R2NearEOS(QDialog, Ui_Dialog):
6+
def __init__(self, parent = None):
7+
super().__init__(parent)
8+
self.setupUi(self)
9+
self.setWindowTitle("EmuGUI - OS Support")
10+
11+
try:
12+
self.setWindowIcon(QtGui.QIcon("EmuGUI.png"))
13+
14+
except:
15+
pass
16+
17+
self.connectSignalsSlots()
18+
19+
def connectSignalsSlots(self):
20+
self.pushButton.clicked.connect(self.close)

main.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from dialogExecution.noUpdateAvailable import NoUpdateAvailable
1616
from dialogExecution.updateAvailable import UpdateAvailable
1717
from dialogExecution.usbTabletDepreciation import UsbTabletDepreciated
18+
from dialogExecution.win81NearEOS import Win812012R2NearEOS
1819
import requests
1920

2021
class Window(QMainWindow, Ui_MainWindow):
@@ -25,7 +26,7 @@ def __init__(self, parent=None):
2526
self.connectSignalsSlots()
2627
self.timer = QTimer()
2728
self.timer.timeout.connect(self.updateVmList)
28-
self.label_8.setText("EmuGUI v0.5")
29+
self.label_8.setText("EmuGUI v0.5.1")
2930
self.setWindowTitle("EmuGUI")
3031

3132
try:
@@ -34,7 +35,7 @@ def __init__(self, parent=None):
3435
except:
3536
pass
3637

37-
self.versionCode = 5005
38+
self.versionCode = 5006
3839

3940
if platform.system() == "Windows":
4041
self.connection = platformSpecific.windowsSpecific.setupWindowsBackend()
@@ -45,6 +46,13 @@ def __init__(self, parent=None):
4546
self.prepareDatabase(self.connection)
4647
self.updateVmList()
4748

49+
if platform.system() == "Windows":
50+
winvers = sys.getwindowsversion()
51+
52+
if winvers.major <= 6 and winvers.minor <= 3:
53+
dialog = Win812012R2NearEOS(self)
54+
dialog.exec()
55+
4856
def connectSignalsSlots(self):
4957
# These buttons are connected to their incorporate functions
5058
self.pushButton_8.clicked.connect(self.createNewVM)

ui/Win81SupportNearsEnd.ui

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ui version="4.0">
3+
<class>Dialog</class>
4+
<widget class="QDialog" name="Dialog">
5+
<property name="geometry">
6+
<rect>
7+
<x>0</x>
8+
<y>0</y>
9+
<width>400</width>
10+
<height>300</height>
11+
</rect>
12+
</property>
13+
<property name="windowTitle">
14+
<string>Dialog</string>
15+
</property>
16+
<property name="locale">
17+
<locale language="English" country="UnitedStates"/>
18+
</property>
19+
<widget class="QWidget" name="gridLayoutWidget">
20+
<property name="geometry">
21+
<rect>
22+
<x>0</x>
23+
<y>0</y>
24+
<width>391</width>
25+
<height>291</height>
26+
</rect>
27+
</property>
28+
<layout class="QGridLayout" name="gridLayout">
29+
<item row="0" column="0">
30+
<widget class="QLabel" name="label">
31+
<property name="text">
32+
<string>Sorry to notify you but Windows 8.1 and Windows Server 2012 R2 are only supported until February 14th, 2023.</string>
33+
</property>
34+
<property name="wordWrap">
35+
<bool>true</bool>
36+
</property>
37+
</widget>
38+
</item>
39+
<item row="1" column="0">
40+
<widget class="QPushButton" name="pushButton">
41+
<property name="text">
42+
<string>OK</string>
43+
</property>
44+
</widget>
45+
</item>
46+
</layout>
47+
</widget>
48+
</widget>
49+
<resources/>
50+
<connections/>
51+
</ui>
1.52 KB
Binary file not shown.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# -*- coding: utf-8 -*-
2+
3+
################################################################################
4+
## Form generated from reading UI file 'Win81SupportNearsEndBVvsDh.ui'
5+
##
6+
## Created by: Qt User Interface Compiler version 6.1.0
7+
##
8+
## WARNING! All changes made in this file will be lost when recompiling UI file!
9+
################################################################################
10+
11+
from PySide6.QtCore import *
12+
from PySide6.QtGui import *
13+
from PySide6.QtWidgets import *
14+
15+
16+
class Ui_Dialog(object):
17+
def setupUi(self, Dialog):
18+
if not Dialog.objectName():
19+
Dialog.setObjectName(u"Dialog")
20+
Dialog.resize(400, 300)
21+
Dialog.setLocale(QLocale(QLocale.English, QLocale.UnitedStates))
22+
self.gridLayoutWidget = QWidget(Dialog)
23+
self.gridLayoutWidget.setObjectName(u"gridLayoutWidget")
24+
self.gridLayoutWidget.setGeometry(QRect(0, 0, 391, 291))
25+
self.gridLayout = QGridLayout(self.gridLayoutWidget)
26+
self.gridLayout.setObjectName(u"gridLayout")
27+
self.gridLayout.setContentsMargins(0, 0, 0, 0)
28+
self.label = QLabel(self.gridLayoutWidget)
29+
self.label.setObjectName(u"label")
30+
self.label.setWordWrap(True)
31+
32+
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
33+
34+
self.pushButton = QPushButton(self.gridLayoutWidget)
35+
self.pushButton.setObjectName(u"pushButton")
36+
37+
self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
38+
39+
40+
self.retranslateUi(Dialog)
41+
42+
QMetaObject.connectSlotsByName(Dialog)
43+
# setupUi
44+
45+
def retranslateUi(self, Dialog):
46+
Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None))
47+
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))
48+
self.pushButton.setText(QCoreApplication.translate("Dialog", u"OK", None))
49+
# retranslateUi
50+

update.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
stable = 4200
2-
pre_release = 5004
1+
stable = 5005
2+
pre_release = 5005

0 commit comments

Comments
 (0)