From b899fbdb8cf6dfa8b2feb0879d4cf44734ea528e Mon Sep 17 00:00:00 2001 From: YXC0915 Date: Fri, 4 Dec 2026 22:58:25 +0800 Subject: [PATCH] fix(ci): provide embedded assets for the packaging CLI --- .github/workflows/native-usb-plugin.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/native-usb-plugin.yml b/.github/workflows/native-usb-plugin.yml index 54d7ff8..7d472ec 100644 --- a/.github/workflows/native-usb-plugin.yml +++ b/.github/workflows/native-usb-plugin.yml @@ -35,6 +35,8 @@ jobs: New-Item -ItemType Directory -Path $output | Out-Null go test -p 2 ./plugins/usb-redir if ($LASTEXITCODE) { exit $LASTEXITCODE } + New-Item -ItemType Directory -Path 'frontend/dist' -Force | Out-Null + Set-Content -LiteralPath 'frontend/dist/index.html' -Value '' -Encoding ascii go build -p 2 -trimpath -o $cli . if ($LASTEXITCODE) { exit $LASTEXITCODE } $manifest = Get-Content -LiteralPath 'plugins/usb-redir/plugin.json' -Raw | ConvertFrom-Json