mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
SDK install script fix (#2411)
This commit is contained in:
@@ -8,6 +8,9 @@ if [ "$0" != "./install-sdk.sh" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
frontend="../frontend/dist/static"
|
||||||
|
[ -d "$frontend" ] || mkdir -p "$frontend"
|
||||||
|
|
||||||
if [ -z "$OS_ARCH" ]; then
|
if [ -z "$OS_ARCH" ]; then
|
||||||
export OS_ARCH=$(uname -m)
|
export OS_ARCH=$(uname -m)
|
||||||
fi
|
fi
|
||||||
@@ -15,4 +18,4 @@ fi
|
|||||||
cargo install --path=. --no-default-features --features=js_engine,sdk,cli --locked
|
cargo install --path=. --no-default-features --features=js_engine,sdk,cli --locked
|
||||||
startbox_loc=$(which startbox)
|
startbox_loc=$(which startbox)
|
||||||
ln -sf $startbox_loc $(dirname $startbox_loc)/start-cli
|
ln -sf $startbox_loc $(dirname $startbox_loc)/start-cli
|
||||||
ln -sf $startbox_loc $(dirname $startbox_loc)/start-sdk
|
ln -sf $startbox_loc $(dirname $startbox_loc)/start-sdk
|
||||||
|
|||||||
Reference in New Issue
Block a user