1
0
Fork 0
mirror of synced 2024-06-28 11:11:15 +12:00

Add not to overlay settings, that it is currently not supported on linux

This commit is contained in:
Dummerle 2022-01-24 18:31:27 +01:00
parent 2fda18ba12
commit e7397e18f9
No known key found for this signature in database
GPG key ID: AB68CC59CA39F2F1
2 changed files with 9 additions and 1 deletions

View file

@ -52,6 +52,9 @@ class EosWidget(QGroupBox, Ui_EosWidget):
self.setupUi(self)
self.core = shared.core
if platform.system() != "Windows":
self.setTitle(f"{self.title()} - {self.tr(' - This won´t work with Wine. It might work in the Future')}")
self.prefix_enabled = False
self.info_stack.addWidget(self.installed_info_gb)
@ -199,6 +202,11 @@ class EosWidget(QGroupBox, Ui_EosWidget):
self.enabled_cb.setChecked(enabled)
def install_overlay(self, update=False):
if platform.system() != "Windows":
if QMessageBox.No == QMessageBox.question(self, "Warning",
self.tr("Epic overlay is currently not supported by wine, so it won't work. Install anyway? "),
QMessageBox.Yes | QMessageBox.No, QMessageBox.No):
return
base_path = os.path.expanduser("~/legendary/.overlay")
if update:

@ -1 +1 @@
Subproject commit 454e62f536d3527bfedd87407116ee6e44fcec3d
Subproject commit 747afa1ea2e94ddd8fad80cbf8e407499929b68d