Update webui and enable EMBEDED_BUILD flag

This commit is contained in:
genteure 2022-06-07 00:55:50 +08:00
parent 89d41742ef
commit 03ca7be644
3 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
Set-PSDebug -Trace 1
Push-Location "$PSScriptRoot/source"
$env:BASE_URL = "/ui/"
$env:EMBEDED_BUILD = "true"
npm ci
npx vite build
Copy-Item -Recurse dist ../../BililiveRecorder.Web/embeded/ui

View File

@ -3,6 +3,7 @@ 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

@ -1 +1 @@
Subproject commit 9c058133cd4e88d4b31a00faf6433d1e4e5fb853
Subproject commit 6eda3e9539c1551f99baa1a79e0b276cb17e1c91