Skip to content

Commit

Permalink
Fix bad OS naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kobaltcore committed Jan 27, 2023
1 parent 3e6f854 commit 2ef30f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renkit.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ proc getCavifUrl(osName=""): string =

let cavifUrl = &"https://github.com/kornelski/cavif-rs/releases/download/v1.5.1/cavif-1.5.1.zip"

if finalOS == "windows":
if finalOS == "win":
result = &"echo 'Downloading {cavifUrl}' && wget {cavifUrl} -qO cavif.zip && unzip -oj cavif.zip {finalOS}/cavif.exe && rm cavif.zip"
else:
result = &"echo 'Downloading {cavifUrl}' && wget {cavifUrl} -qO cavif.zip && unzip -oj cavif.zip {finalOS}/cavif && rm cavif.zip"
Expand Down

0 comments on commit 2ef30f8

Please sign in to comment.