From 52a11c11a579591d927f826848cb19657584eb5e Mon Sep 17 00:00:00 2001 From: Reimart Date: Sun, 17 Mar 2024 23:21:53 +0800 Subject: [PATCH] removed .exe in the shell script executable --- src/ui/openleetcodeui.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ui/openleetcodeui.sh b/src/ui/openleetcodeui.sh index eb4de92..e0b8327 100755 --- a/src/ui/openleetcodeui.sh +++ b/src/ui/openleetcodeui.sh @@ -2,15 +2,15 @@ run_exe() { for D in OpenLeetCodeUI; do - if [ -f "${D}/OpenLeetCodeUI.exe" ]; then - echo "Running OpenLeetCodeUI.exe in ${D}" - "${D}/OpenLeetCodeUI.exe" --problem_builds_dir=$(pwd) + if [ -f "${D}/OpenLeetCodeUI" ]; then + echo "Running OpenLeetCodeUI in ${D}" + "${D}/OpenLeetCodeUI" --problem_builds_dir=$(pwd) exit fi done - echo "No OpenLeetCodeUI.exe found in $(pwd)/OpenLeetCodeUI directory." + echo "No OpenLeetCodeUI found in $(pwd)/OpenLeetCodeUI directory." } pushd "$(dirname "$0")" > /dev/null run_exe -popd > /dev/null \ No newline at end of file +popd > /dev/null