mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
support 17.7.1 rc
This commit is contained in:
@@ -13,6 +13,9 @@ class Device:
|
|||||||
|
|
||||||
def has_exploit(self) -> bool:
|
def has_exploit(self) -> bool:
|
||||||
parsed_ver: Version = Version(self.version)
|
parsed_ver: Version = Version(self.version)
|
||||||
|
# make sure versions past 17.7.1 but before 18.0 aren't supported
|
||||||
|
if (parsed_ver >= Version("17.7.1") and parsed_ver < Version("18.0")):
|
||||||
|
return False
|
||||||
if (parsed_ver < Version("18.1")
|
if (parsed_ver < Version("18.1")
|
||||||
or self.build == "22B5007p" or self.build == "22B5023e"
|
or self.build == "22B5007p" or self.build == "22B5023e"
|
||||||
or self.build == "22B5034e" or self.build == "22B5045g"):
|
or self.build == "22B5034e" or self.build == "22B5045g"):
|
||||||
|
|||||||
Reference in New Issue
Block a user