import os from dotenv import load_dotenv from common.DefaultSettings import settings from common.Settings import Settings load_dotenv() settings.github = Settings.Github(username=os.getenv("GITHUB_USERNAME"), token=os.getenv("GITHUB_TOKEN"))
footer="</p></details>\n" "\n", download_line= "- {title.platform_name} {title.title}: [`{download_link.basename}`]({download_link}) ([`build " "link`]( " "{build_link}))\n", json_header='<details><summary>:robot:</summary>\n' '\n' '```json\n', json_footer='\n' '```\n' '</details>', section_title='## {platform_title}\n') github_settings = Settings.Github( username="", token='', ) linux = Settings.Platform(name="Linux", extension_to_title={ "AppImage": "(AppImage)", }) windows = Settings.Platform(name="Windows", extension_to_title={ 'mingw.win32.exe': "32-bit (mingw)", 'mingw.win64.exe': "64-bit (mingw)", 'msvc17.win32.exe': "32-bit (MSVC 2017)", 'msvc17.win64.exe': "64-bit (MSVC 2017)", 'win32.exe': "32-bit", 'win64.exe': "64-bit",