chore: fix go removal issue and make script with configurable user
All checks were successful
Cross-Compile Binaries / compile-linux (push) Successful in 4m27s
Cross-Compile Binaries / compile-windows (push) Successful in 9m20s

This commit is contained in:
2026-01-15 16:36:48 +01:00
parent f49e370bfe
commit 2fe52ee4d2
2 changed files with 7 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ func verifyCred(targetName string, cfg RaspiConfig) bool {
}
func sftpUploadFile(targetName, localPath, remotePath string, cfg RaspiConfig) bool {
const clearDirectory string = "rm /opt/akartontv/*"
const clearDirectory string = "rm /opt/akartontv/media/*"
sshClient, err := createSSHClient(targetName, cfg)