mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-26 05:49:09 +00:00
feat(anime4k): added version name to Anime4K GLSL shader files
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
parent
9d09d8570f
commit
48119a30eb
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user