feat: add remote audiobook generation

This commit is contained in:
Курнат Андрей
2026-08-10 05:24:47 +03:00
parent b115f76e76
commit 173bd672aa
42 changed files with 2300 additions and 125903 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ if ($RestartArgus) {
$remoteScript = $remoteScriptLines -join "`n"
$tempRemoteScript = New-TemporaryFile
try {
Set-Content -LiteralPath $tempRemoteScript -Value $remoteScript -Encoding utf8
Set-Content -LiteralPath $tempRemoteScript -Value $remoteScript -Encoding utf8 -NoNewline
Get-Content -LiteralPath $tempRemoteScript -Raw | & ssh $remoteTarget "bash" "-s"
if ($LASTEXITCODE -ne 0) {
throw "ssh exited with code $LASTEXITCODE."