mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-12-04 13:33:26 +01:00
Update version parsing
This commit is contained in:
parent
a1bbb4390b
commit
c8f3951c1e
@ -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)
|
||||
@ -267,4 +269,4 @@ if __name__ == '__main__':
|
||||
exit()
|
||||
|
||||
while True:
|
||||
g.main()
|
||||
g.main()
|
||||
|
Loading…
Reference in New Issue
Block a user