Skip to content

Commit

Permalink
Fixed pre-packing script
Browse files Browse the repository at this point in the history
  • Loading branch information
FangCunWuChang committed Sep 2, 2024
1 parent 28efd0c commit 7cb45c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/ci/prePacking.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ if (-not (Test-Path -Path $DirectoryPath)) {
}

# Remove audio plugin list
$AUDIO_PATH = $DirectoryPath + "/data/audio/*"
Remove-Item $AUDIO_PATH -Include "blackPlugins.txt", "pluginPaths.txt", "plugins.xml"
$AUDIO_PATH = $DirectoryPath + "/data/audio"
if ((Test-Path $AUDIO_PATH) -eq "True") {
Remove-Item ($AUDIO_PATH + "/*") -Include "blackPlugins.txt", "pluginPaths.txt", "plugins.xml"
}

$DEAD_PLUGINS_PATH = $AUDIO_PATH + "/deadPlugins"
if ((Test-Path $DEAD_PLUGINS_PATH) -eq "True") {
Expand Down

0 comments on commit 7cb45c2

Please sign in to comment.