catalog
This commit is contained in:
parent
fc17992b20
commit
82f5290c18
1 changed files with 2 additions and 2 deletions
|
@ -16,9 +16,9 @@ ARCHITECTURES_SUBSYSTEMS = {
|
||||||
'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'],
|
'x86_64': ['msys', 'clang64', 'mingw64', 'ucrt64'],
|
||||||
'i686': ['msys', 'clang32', 'mingw32'],
|
'i686': ['msys', 'clang32', 'mingw32'],
|
||||||
}
|
}
|
||||||
|
CATALOG = '.files'
|
||||||
CHARSET = 'u8'
|
CHARSET = 'u8'
|
||||||
DISTRIBUTION = 'distrib'
|
DISTRIBUTION = 'distrib'
|
||||||
FILES = '.files'
|
|
||||||
MINGW = 'mingw'
|
MINGW = 'mingw'
|
||||||
SIGNATURE = '.sig'
|
SIGNATURE = '.sig'
|
||||||
SUBSYSTEMS = ['msys', 'clang', 'mingw', 'ucrt']
|
SUBSYSTEMS = ['msys', 'clang', 'mingw', 'ucrt']
|
||||||
|
@ -53,7 +53,7 @@ class Remote:
|
||||||
subsystem = f'{ss}{ARCHITECTURES_BITS[architecture]}'
|
subsystem = f'{ss}{ARCHITECTURES_BITS[architecture]}'
|
||||||
location = os.path.join(location, MINGW, subsystem)
|
location = os.path.join(location, MINGW, subsystem)
|
||||||
if subsystem in ARCHITECTURES_SUBSYSTEMS[architecture]:
|
if subsystem in ARCHITECTURES_SUBSYSTEMS[architecture]:
|
||||||
location = os.path.join(location, f'{subsystem}{FILES}')
|
location = os.path.join(location, f'{subsystem}{CATALOG}')
|
||||||
binary = requests.get(location).content
|
binary = requests.get(location).content
|
||||||
c[architecture][subsystem] = catalog.Catalog(binary)
|
c[architecture][subsystem] = catalog.Catalog(binary)
|
||||||
self.archives = a
|
self.archives = a
|
||||||
|
|
Loading…
Reference in a new issue