GenerateScript should not return encoded script (#1397)

followup to #1395
This commit is contained in:
6543
2022-11-06 13:36:34 +01:00
committed by GitHub
parent 18311d4360
commit e8490a757f
8 changed files with 64 additions and 43 deletions

View File

@@ -16,7 +16,6 @@ package common
import (
"bytes"
"encoding/base64"
"fmt"
"strings"
)
@@ -36,7 +35,7 @@ func generateScriptWindows(commands []string) string {
setupScriptWin,
buf.String(),
)
return base64.StdEncoding.EncodeToString([]byte(script))
return script
}
const setupScriptWin = `