Skip to content

Commit a4903cd

Browse files
authored
Merge pull request #12 from ReimartS/ui_unix
removed .exe in the shell script executable
2 parents 88ff197 + 52a11c1 commit a4903cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ui/openleetcodeui.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
run_exe() {
44
for D in OpenLeetCodeUI; do
5-
if [ -f "${D}/OpenLeetCodeUI.exe" ]; then
6-
echo "Running OpenLeetCodeUI.exe in ${D}"
7-
"${D}/OpenLeetCodeUI.exe" --problem_builds_dir=$(pwd)
5+
if [ -f "${D}/OpenLeetCodeUI" ]; then
6+
echo "Running OpenLeetCodeUI in ${D}"
7+
"${D}/OpenLeetCodeUI" --problem_builds_dir=$(pwd)
88
exit
99
fi
1010
done
11-
echo "No OpenLeetCodeUI.exe found in $(pwd)/OpenLeetCodeUI directory."
11+
echo "No OpenLeetCodeUI found in $(pwd)/OpenLeetCodeUI directory."
1212
}
1313

1414
pushd "$(dirname "$0")" > /dev/null
1515
run_exe
16-
popd > /dev/null
16+
popd > /dev/null

0 commit comments

Comments
 (0)