File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ show_help() {
10
10
echo
11
11
echo " Optional:"
12
12
echo " -u, --user <remote_user> Remote username (default: root)"
13
+ echo " --skip-ui-build Skip frontend/UI build"
13
14
echo " --help Display this help message"
14
15
echo
15
16
echo " Example:"
@@ -21,6 +22,7 @@ show_help() {
21
22
# Default values
22
23
REMOTE_USER=" root"
23
24
REMOTE_PATH=" /userdata/jetkvm/bin"
25
+ SKIP_UI_BUILD=false
24
26
25
27
# Parse command line arguments
26
28
while [[ $# -gt 0 ]]; do
@@ -33,6 +35,10 @@ while [[ $# -gt 0 ]]; do
33
35
REMOTE_USER=" $2 "
34
36
shift 2
35
37
;;
38
+ --skip-ui-build)
39
+ SKIP_UI_BUILD=true
40
+ shift
41
+ ;;
36
42
--help)
37
43
show_help
38
44
exit 0
@@ -52,7 +58,9 @@ if [ -z "$REMOTE_HOST" ]; then
52
58
fi
53
59
54
60
# Build the development version on the host
55
- make frontend
61
+ if [ " $SKIP_UI_BUILD " = false ]; then
62
+ make frontend
63
+ fi
56
64
make build_dev
57
65
58
66
# Change directory to the binary output directory
You can’t perform that action at this time.
0 commit comments