19 lines
716 B
PowerShell
19 lines
716 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
$manifest = Join-Path $env:USERPROFILE "Downloads\suno-library-*.manifest.json"
|
|
$latest = Get-ChildItem -Path $manifest -File -ErrorAction SilentlyContinue |
|
|
Sort-Object LastWriteTime -Descending |
|
|
Select-Object -First 1
|
|
|
|
if (-not $latest) {
|
|
Write-Host "Downloads 폴더에서 suno-library-*.manifest.json 을 찾지 못했어."
|
|
Write-Host "Tampermonkey 패널에서 라이브러리 일괄 다운로드를 먼저 눌러줘."
|
|
Read-Host "Enter를 누르면 닫힘"
|
|
exit 1
|
|
}
|
|
|
|
& "$PSScriptRoot\process-suno-library.ps1" -ManifestPath $latest.FullName -OutputRoot "\\VaultOfData\AKAMedia\음악\처리됨\SUNO"
|
|
|
|
Write-Host ""
|
|
Read-Host "Enter를 누르면 닫힘"
|