There was an error while loading. Please reload this page.
2 parents 88ff197 + 52a11c1 commit a4903cdCopy full SHA for a4903cd
src/ui/openleetcodeui.sh
@@ -2,15 +2,15 @@
2
3
run_exe() {
4
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)
+ if [ -f "${D}/OpenLeetCodeUI" ]; then
+ echo "Running OpenLeetCodeUI in ${D}"
+ "${D}/OpenLeetCodeUI" --problem_builds_dir=$(pwd)
8
exit
9
fi
10
done
11
- echo "No OpenLeetCodeUI.exe found in $(pwd)/OpenLeetCodeUI directory."
+ echo "No OpenLeetCodeUI found in $(pwd)/OpenLeetCodeUI directory."
12
}
13
14
pushd "$(dirname "$0")" > /dev/null
15
run_exe
16
-popd > /dev/null
+popd > /dev/null
0 commit comments