Update launcher.py
This commit is contained in:
@@ -24,7 +24,7 @@ def main():
|
|||||||
# Check if the environment variable is set
|
# Check if the environment variable is set
|
||||||
github_download_enabled = convert_to_bool(os.getenv("UPDATE", False))
|
github_download_enabled = convert_to_bool(os.getenv("UPDATE", False))
|
||||||
|
|
||||||
if not os.path.exists(output_file):
|
if not os.path.exists(output_file):
|
||||||
print(f"File {output_file} does not exist. Downloading from GitHub...")
|
print(f"File {output_file} does not exist. Downloading from GitHub...")
|
||||||
download_from_github(github_url, output_file)
|
download_from_github(github_url, output_file)
|
||||||
elif github_download_enabled:
|
elif github_download_enabled:
|
||||||
|
|||||||
Reference in New Issue
Block a user