Apertura del repositorio

This commit is contained in:
2025-05-24 18:09:39 -03:00
parent 76e6359dad
commit d883ddd0d0
35253 changed files with 2891973 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
# build_config.py
import json
class BuildConfig:
def __init__(self, config_file='./pmutils/build_config.json'):
with open(config_file, 'r') as f:
config_data = json.load(f)
self.supported_os_dirs = config_data.get('os_download_dirs', [])
# channel_to_build_type is a map from Beta, Release and Nightly to folder names preview release and nightly
self.build_type_hosted_folder = config_data.get('build_type_hosted_folder', {})
self.fs_version_mgr_platform = config_data.get('pm_version_mgr_platform', {})
self.os_hosted_folder = config_data.get('os_hosted_folder', {})
self.platforms_printable = config_data.get('platforms_printable', {})
self.grids_printable = config_data.get('grids_printable', {})
self.download_root = config_data.get('download_root', '')
self.viewer_channel_mapping = config_data.get('viewer_channel_mapping', {})
self.variant_printable = config_data.get('variant_printable', {})