From 258e484f4b5c206ca6d43c87d34923d98686db14 Mon Sep 17 00:00:00 2001 From: tntwise Date: Wed, 21 Aug 2024 00:09:18 +0000 Subject: [PATCH] fix non windows builds --- main.py | 3 +-- src/Backendhandler.py | 2 +- src/Util.py | 2 +- .../__pycache__/DownloadTab.cpython-311.pyc | Bin 1756 -> 1756 bytes src/ui/__pycache__/MoreTab.cpython-311.pyc | Bin 648 -> 648 bytes src/ui/__pycache__/ProcessTab.cpython-311.pyc | Bin 18456 -> 18442 bytes src/ui/__pycache__/QTcustom.cpython-311.pyc | Bin 39685 -> 39807 bytes src/ui/__pycache__/QTstyle.cpython-311.pyc | Bin 5179 -> 5179 bytes .../__pycache__/SettingsTab.cpython-311.pyc | Bin 7704 -> 7704 bytes 9 files changed, 3 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index ff00851d..8505c024 100644 --- a/main.py +++ b/main.py @@ -101,7 +101,7 @@ def __init__(self): backendHandler = BackendHandler(self) backendHandler.enableCorrectBackends() backendHandler.setupBackendDeps() - backendHandler.recursivlyCheckIfDepsOnFirstInstallToMakeSureUserHasInstalledAtLeastOneBackend( + self.backends, self.fullOutput = backendHandler.recursivlyCheckIfDepsOnFirstInstallToMakeSureUserHasInstalledAtLeastOneBackend( firstIter=True ) @@ -117,7 +117,6 @@ def __init__(self): self.stackedWidget.setCurrentIndex(0) self.QConnect() - self.backends, self.fullOutput = backendHandler.getAvailableBackends() # set up tabs self.backendComboBox.addItems(self.backends) printOut = ( diff --git a/src/Backendhandler.py b/src/Backendhandler.py index 5cfd055f..0e6788f7 100644 --- a/src/Backendhandler.py +++ b/src/Backendhandler.py @@ -32,7 +32,7 @@ def recursivlyCheckIfDepsOnFirstInstallToMakeSureUserHasInstalledAtLeastOneBacke """ try: self.availableBackends, self.fullOutput = self.getAvailableBackends() - + return self.availableBackends, self.fullOutput except SyntaxError as e: printAndLog(str(e)) if not firstIter: diff --git a/src/Util.py b/src/Util.py index 0b01737f..ee1a2ec0 100644 --- a/src/Util.py +++ b/src/Util.py @@ -67,7 +67,7 @@ def getCPUInfo() -> str: print(f"An error occurred while getting CPU brand: {e}") return None else: - cpuinfo.get_cpu_info()["brand_raw"] + return cpuinfo.get_cpu_info()["brand_raw"] def pythonPath() -> str: diff --git a/src/ui/__pycache__/DownloadTab.cpython-311.pyc b/src/ui/__pycache__/DownloadTab.cpython-311.pyc index df328c7d9849dcb50fab6049b1012f99b9179fff..5744c05600a41a55d7ff2bbc12262fd58a039185 100644 GIT binary patch delta 19 Zcmcb^dxw{6IWI340}!xY*vNH>4FELa1rPuL delta 19 Zcmcb^dxw{6IWI340}w>@Y~;Gc1^_jT1t9!1v3CS>F_)63)VVMMs+_>djh=VDyH!P(Q`)r3J5Yxq*9De< zh&u>>xD>SCu{mhdg+GA^Lb>XI-2RTNfuo;4NS8G7ir}#4@**3NmMrk`l z>pe|-{x9X-L2K6D$E6rl+~JlKIX+98wRkr$`kU5xtw>X@a!zQ+*d>S;Ntg z5qx=~_7e;eWZ|H%tLXrR2MLA{M1haOyf4DWj1`}gv2o*C<4s3rFG-A#&|eL2rqKa{ zQG{v@!otD=AA@)NC*0$hiH$sK{O#{#Y!rflgma9>4jaRP0p=vVz~C>hA68p78Y~Bf zT$GO)v#r0?uwFRc7G+sD(-v$kqF{OoGn~t1eL_C1^8#5NgSEEq*aU?y6HFn9wN^ED zT~>uh;eK1lUVFrdgila6^E>`^;0klGjU8{(%m-Zvm|_>$2Jx>zvHgh8>V=t3UE-6n zF8bly_Mqo2(vK0GgFo7ru*Hq`aKvIQH*0On{45PRN&xVA{7Kx?Tk%DzLg~28If|{jbA2l zg@D#E8#FG@D)MXN(n(q6v&2jA=FWJ-!+x-~^BXn}ZzLz1=veqQgsKA}iiZPtlV$7h z_@bfgTCZhCAe7$4UWAeKVVty_p6Kbrp{Afocs)O%`CfuKf-?kGuRzfg1m_4YKs?hC zD`RL1_yRd!r_jx1si-Pt8Qm(X%5$J(;=KbTIVDY#%SBTtRJ7Omb4YO?fz|3&j6~Pt z_h1pe$|UW3aNf9=x#7U=`gG4BfsMYK3pIaDu0lzwPMa=GQp!}sXRtdL!{a)fyMo6B z_xi*~_bJ(*M~_nf*&6SUv}B82NEYr7MA>zSo@|PfC1i8j(!nKfv$#sNKb~(YSw_3Y!~D&gaPRc^V`X zm4a^H%wZxq0Xv}nD#aO9 P-p98wB5$^-45GU-L14+D0XQnt(aQb(nM>rOn0Z-Nw+)G zGqYL=YNLjPCP?KHLrBDcKS+GBnM8ck#3$qh9`s=%n2<<$F(JkmNr;{^Q&S+$!#C%C z=l|Yw@A3*ex58>J`~B6M@VoovkE=EH-nL^wP-m3xu0*1LRfi1|v{JzdxcfQ2;pQwZ=ey}4@9-dCRkZjtbKTQWIPy+L@jzoE1<)X3= O{@G-$4ewwA1^X8hZiO-c diff --git a/src/ui/__pycache__/QTcustom.cpython-311.pyc b/src/ui/__pycache__/QTcustom.cpython-311.pyc index 68051a3c3a3f94d4b0ce929c952706922174b2a2..786b4bdf86dbfa9eafbb062c457826fb95fee51d 100644 GIT binary patch delta 2948 zcmai03rtg27`~@3DzshggE#epAXHEug6}Yx;#-7Fj1xtW7KHTyx3^%SK9fydA_%|P zbW4`H8QrE+*_~{Q(}DB7M5s0j_*j;>WF||7&PC0#xN~l~7bLLVG=I_r-sOmN+{~M1j_Bz(iq@ZrtnQ>Tgi2&X3pe%~Z&n%Fl0PN15j_uYY6Bo!nB9|~7&@?w$%Mo5C zF=vSBgpRqMu(M3TQ-?U9^oalaDvz{;Z1un|=NS9C4m8^V=hnFhjKR#?W!+gtcLCn|iad8>y;{GWP4Ka5Sq??%C#8eYAc6}Ld9hagzaBqET1WA8DUg>l@ z*kEcT9CHIq8&YC=h)+@JW?W9jCB+k(9y+dWu4021p>FO$nFFB)Ze{sA3H)BALtZEj zjev|qE&LE6kCGHN>EE>4td%Ui&{}78Sgel98mr5!gHJcD!YA+UFHZYpDXV>A8Atbj7BSD6K;ARO*mnuT^*Z=H{>!y#)YKC_~# zOmqWwRV_)sX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44c~etSGVt zQPj7Jd+lodk0?aIHm?Xc?v?ns=Y2{PC}*6HoEPztGtNhjMD`2#u(gSN-18=ApH_uf z7Sk@4wWwVWm2ILbd_K%w0=cZDrFl{o+|oSK(pr1`vrh#_{_nNODSkcOe`sh(ZOTMw7^!O6r>~#W8leAi1thMl>DjeGF|k!)T@fR!|iCYJDM8TIXwKR?-)|N%-+Il;G-=!(Fwk7>pYYbz>ln_ zG?bz`s2e)t4#f?n`nodisxmGRpF5z;3o7#h%Dh`l#*x$kCO63BLa-xAzWSi6$Ho8E zaZQ<2IG{`pDw6}s0hwVQx=_+Rmx6jP^n} z+*yFX8F<{80EJyU6?Pg|;)Qcvn^cv7s-*+!nxMJ{{7WLCez!$7r@s_-?VcY}9ay>? zJ7##eJ59AXuw>bQdU;U295VL!8NEDmgqqBx!;L+Rp^BDI8=)rHwIQJK$Aj4~=PiC0 zjXK}}456*iyl)U);4Aj`AQa#qynA0(Fi(b5Bh>Tl`!T^7%cv0iV@Y~(T&0RS^f1cCqn diff --git a/src/ui/__pycache__/SettingsTab.cpython-311.pyc b/src/ui/__pycache__/SettingsTab.cpython-311.pyc index d7290d0a138f15755b3857d61076c039a20190a2..34ec96151b765817d8b06d8617304e87efd56c47 100644 GIT binary patch delta 19 ZcmbPXGsA{!IWI340}!xY*vQ2v2LLc21Udi! delta 19 ZcmbPXGsA{!IWI340}w>@Y~