20 lines
582 B
PowerShell
20 lines
582 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
$pwsh = Join-Path $env:ProgramFiles "PowerShell\7\pwsh.exe"
|
|
if (($PSVersionTable.PSVersion.Major -lt 7) -and (Test-Path -LiteralPath $pwsh)) {
|
|
& $pwsh -NoProfile -ExecutionPolicy Bypass -File $PSCommandPath
|
|
exit $LASTEXITCODE
|
|
}
|
|
|
|
$music = -join ([char[]](0xc74c, 0xc545))
|
|
$processed = -join ([char[]](0xcc98, 0xb9ac, 0xb428))
|
|
$outputRoot = "\\VaultOfData\AKAMedia\$music\$processed"
|
|
|
|
& "$PSScriptRoot\suno-companion.ps1" `
|
|
-Port 17873 `
|
|
-OutputRoot $outputRoot `
|
|
-ArtistName "SUNO"
|
|
|
|
Write-Host ""
|
|
Read-Host "Press Enter to close"
|