Add not to overlay settings, that it is currently not supported on linux
This commit is contained in:
parent
2fda18ba12
commit
e7397e18f9
|
@ -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
|
Loading…
Reference in a new issue