Skip to content

Commit 36e6637

Browse files
committed
fix: Linux launcher fails due to incorrect path to codeflare.min.js
1 parent 740b5c4 commit 36e6637

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bin/codeflare

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ elif [ -f "$SCRIPTDIR/../CodeFlare/CodeFlare" ]; then
5050
# CodeFlare installed in SCRIPTDIR on Linux or Windows
5151
BASE="$SCRIPTDIR/../CodeFlare"
5252
NODE="$BASE/CodeFlare"
53-
HEADLESS="$BASE/resources/headless"
53+
HEADLESS="$BASE/resources/app/dist/headless"
5454
elif [ -f "$SCRIPTDIR/../CodeFlare" ]; then
5555
# CodeFlare installed in SCRIPTDIR on Linux or Windows (variant)
5656
BASE="$SCRIPTDIR/.."
5757
NODE="$BASE/CodeFlare"
58-
HEADLESS="$BASE/resources/headless"
58+
HEADLESS="$BASE/resources/app/dist/headless"
5959
elif [ -f "$CODEFLARE_HOME/CodeFlare.app/Contents/MacOS/CodeFlare" ]; then
6060
# CodeFlare installed in CODEFLARE_HOME on macOS
6161
BASE="$CODEFLARE_HOME/CodeFlare.app"
@@ -65,19 +65,19 @@ elif [ -f "$CODEFLARE_HOME/CodeFlare" ]; then
6565
# CodeFlare installed in CODEFLARE_HOME on Linux or Windows
6666
BASE="$CODEFLARE_HOME"
6767
NODE="$BASE/CodeFlare"
68-
HEADLESS="$BASE/resources/headless"
68+
HEADLESS="$BASE/resources/app/dist/headless"
6969
elif [ -f ./CodeFlare/CodeFlare ]; then
7070
# CodeFlare installed in CWD on Linux or Windows
7171
BASE="$PWD/CodeFlare"
7272
NODE="$BASE/CodeFlare"
73-
HEADLESS="$BASE/resources/headless"
73+
HEADLESS="$BASE/resources/app/dist/headless"
7474
elif [ -f ./CodeFlare ]; then
7575
# CodeFlare installed in CWD on Linux or Windows (variant)
7676
# !! CAREFUL !! place this last, so we don't confuse CodeFlare and
7777
# codeflare on case-insensitive filesystems
7878
BASE="$PWD"
7979
NODE="$BASE/CodeFlare"
80-
HEADLESS="$BASE/resources/headless"
80+
HEADLESS="$BASE/resources/app/dist/headless"
8181
elif [ -f /Applications/CodeFlare.app/Contents/MacOS/CodeFlare ]; then
8282
# CodeFlare installed in /Applications on macOS
8383
BASE=/Applications/CodeFlare.app
@@ -87,7 +87,7 @@ elif [ -f /usr/local/bin/CodeFlare/CodeFlare ]; then
8787
# CodeFlare installed in /usr/local/bin on Linux or Windows
8888
BASE=/usr/local/bin/CodeFlare
8989
NODE="$BASE/CodeFlare"
90-
HEADLESS="$BASE/resources/headless"
90+
HEADLESS="$BASE/resources/app/dist/headless"
9191
else
9292
echo "Error: Could not find CodeFlare. Try setting CODEFLARE_HOME=/path/to/CodeFlare"
9393
exit 1

0 commit comments

Comments
 (0)