mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 20:54:15 +02:00
refactoring: distro check for arch and snap gems
This commit is contained in:
@@ -32,6 +32,7 @@ def main():
|
||||
icon_cache = cache_factory.new(args.icon_exp)
|
||||
|
||||
http_client = HttpClient(logger)
|
||||
|
||||
context = ApplicationContext(i18n=i18n,
|
||||
http_client=http_client,
|
||||
disk_cache=args.disk_cache,
|
||||
@@ -40,6 +41,7 @@ def main():
|
||||
cache_factory=cache_factory,
|
||||
disk_loader_factory=DefaultDiskCacheLoaderFactory(disk_cache_enabled=args.disk_cache, logger=logger),
|
||||
logger=logger,
|
||||
distro=util.get_distro(),
|
||||
file_downloader=AdaptableFileDownloader(logger, bool(args.download_mthread),
|
||||
i18n, http_client))
|
||||
user_config = config.read()
|
||||
|
||||
Reference in New Issue
Block a user