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