mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
10 lines
296 B
Bash
Executable File
10 lines
296 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ex
|
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";
|
|
pushd "$SCRIPT_DIR/source"
|
|
export BASE_URL="/ui/"
|
|
export EMBEDED_BUILD="true"
|
|
npm ci && npx vite build
|
|
cp --recursive dist ../../BililiveRecorder.Web/embeded/ui
|
|
popd
|