From e2e178f61b7371c10e2008872b942b3637b139ad Mon Sep 17 00:00:00 2001 From: JoshuaMKW Date: Sat, 7 Nov 2020 02:52:03 -0600 Subject: [PATCH] Further linux accommodations --- GeckoLoader.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GeckoLoader.py b/GeckoLoader.py index e8b33b9..5e68cab 100644 --- a/GeckoLoader.py +++ b/GeckoLoader.py @@ -699,7 +699,11 @@ class GUI(object): self.uiexSettings.kernelHookLineEdit.textChanged.connect(lambda: self._enforce_mask(self.uiexSettings.kernelHookLineEdit, 0x817FFFFC, 0x80000000)) def _exec_api(self): - self.ui.responses.appendPlainText(f"| Session {self.compileCount} |".center(84, "=") + "\n") + if sys.platform == "win32": + self.ui.responses.appendPlainText(f"| Session {self.compileCount} |".center(84, "=") + "\n") + else: + self.ui.responses.appendPlainText(f"| Session {self.compileCount} |".center(76, "=") + "\n") + self.compileCount += 1 if self.ui.dolTextBox.isEnabled and self.ui.dolTextBox.text().strip() != "":