build: fix foobar component

This commit is contained in:
bnnm 2023-05-15 18:53:18 +02:00 committed by GitHub
parent c0e8fa4a4a
commit 59ba57060b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,8 +274,8 @@ function MakePackage
# workaround for a foobar 2.0 64-bit bug: (earlier?) powershell creates zip paths with '\' (which seem
# non-standard), and apparently that confuses foobar when trying to unpack the zip
try {
# possibly available in github actions
& '7z' a -tzip bin/foo_input_vgmstream.fb2k-component bin/foobar2000/*
# should be available in github actions
& '7z' a -tzip bin/foo_input_vgmstream.fb2k-component ./bin/foobar2000/*
} catch {
# works for 32-bit at least
Compress-Archive -Path bin/foobar2000/* bin/foo_input_vgmstream.zip -Force