mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 09:30:34 +00:00
Update version parsing
This commit is contained in:
parent
a1bbb4390b
commit
c8f3951c1e
1 changed files with 3 additions and 1 deletions
|
@ -238,6 +238,8 @@ class gibMacOS:
|
|||
print("{} not found".format(prod))
|
||||
|
||||
def get_for_version(self, vers):
|
||||
if str(vers).startswith("10."):
|
||||
vers = str(vers)[3:]
|
||||
for p in self.mac_prods:
|
||||
if p["version"] == vers:
|
||||
self.download_prod(prod)
|
||||
|
|
Loading…
Reference in a new issue