Skip to content

Commit 448a661

Browse files
committed
chore: minor cleanups to bin/codeflare launcher
1 parent 5b8f508 commit 448a661

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

bin/codeflare

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
#!/usr/bin/env bash
22
# -*- mode: shell-script
33

4-
#export KUI_HEADLESS=true
5-
#export ELECTRON_RUN_AS_NODE=true
6-
74
export NODE_NO_WARNINGS=1
8-
# export NODE_OPTIONS="--no-warnings"
95

106
# use a special window sizing and positioning
117
# export KUI_POPUP_WINDOW_RESIZE=true
@@ -99,7 +95,6 @@ fi
9995

10096
# This points the headless->electron launcher to our Electron
10197
export KUI_ELECTRON_HOME="${KUI_ELECTRON_HOME-$NODE}"
102-
export CODEFLARE_HEADLESS_ZIP=$HEADLESS/../headless.zip
10398

10499
if [ -d "$HEADLESS"/../../store ]; then
105100
# development builds
@@ -130,7 +125,7 @@ if [ "$do_cli" = "1" ]; then
130125
# using electron as the nodejs binary (this is what
131126
# ELECTRON_RUN_AS_NODE does for us)
132127
export KUI_HEADLESS=true
133-
export KUI_S3=false
128+
export KUI_S3=false # we don't need plugin-s3 capabilities when in headless mode
134129
export ELECTRON_RUN_AS_NODE=true
135130
# export MWSTORE="$GUIDEBOOK_STORE"
136131
# exec "$NODE" \

0 commit comments

Comments
 (0)