feat(anime4k): added version name to Anime4K GLSL shader files

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x 2024-10-27 00:00:00 +00:00
parent 9d09d8570f
commit 48119a30eb
No known key found for this signature in database
8 changed files with 7 additions and 1 deletions

View File

@ -78,7 +78,13 @@ def download_and_combine_files():
response.raise_for_status()
file_contents += response.text + "\n"
with (SHADERS_DIR / Path(f"anime4k-{mode}.glsl")).open("w") as output_file:
version = "v4"
if mode == "gan":
version = "v4.1"
with (SHADERS_DIR / Path(f"anime4k-{version}-{mode}.glsl")).open(
"w"
) as output_file:
output_file.write(file_contents)