From f43df514e5090f3a736112637d722bcdb6844361 Mon Sep 17 00:00:00 2001 From: Lukas Berbuer Date: Fri, 16 Dec 2022 18:43:51 +0100 Subject: [PATCH] Use absolute link to screenshot in README --- README.md | 2 +- docs/generate_screenshot.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e91fdd8..f0f9848 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Check for updates of your `conanfile.txt` / `conanfile.py` requirements. -![Screenshot](docs/screenshot.png) +![Screenshot](https://github.com/lukasberbuer/conan-check-updates/blob/master/docs/screenshot.png) ## Installation diff --git a/docs/generate_screenshot.sh b/docs/generate_screenshot.sh index cc43025..d633217 100644 --- a/docs/generate_screenshot.sh +++ b/docs/generate_screenshot.sh @@ -11,11 +11,12 @@ then fi exe="conan-check-updates" +exe_win="${exe}.exe" # use windows binary if avaiable (wsl) -if [ -x "$(command -v conan-check-updates.exe)" ]; then +if [ -x "$(command -v $exe_win)" ]; then echo "Windows executable found" - exe="conan-check-updates.exe" + exe=$exe_win fi echo "