Skip to content

Commit

Permalink
自动识别已有的Real-CUGAN
Browse files Browse the repository at this point in the history
Close #83
  • Loading branch information
TransparentLC committed May 22, 2024
1 parent 26ce0e1 commit af1a448
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ realesrgan-ncnn-vulkan
realesrgan-ncnn-vulkan.exe
upscayl-bin
upscayl-bin.exe
realcugan-ncnn-vulkan
realcugan-ncnn-vulkan.exe
vcomp140.dll
vcomp140d.dll

Expand Down
1 change: 1 addition & 0 deletions define.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
for executableName in (
'upscayl-bin',
'realesrgan-ncnn-vulkan',
'realcugan-ncnn-vulkan',
):
if os.path.exists(RE_PATH := os.path.join(APP_PATH, executableName + ('.exe' if os.name == 'nt' else ''))):
break
Expand Down

0 comments on commit af1a448

Please sign in to comment.