mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix --signTemplate on Linux
This commit is contained in:
@@ -119,7 +119,7 @@ public class CodeSign
|
|||||||
if (!VelopackRuntimeInfo.IsWindows) {
|
if (!VelopackRuntimeInfo.IsWindows) {
|
||||||
fileName = "/bin/bash";
|
fileName = "/bin/bash";
|
||||||
string escapedCommand = command.Replace("'", "'\\''");
|
string escapedCommand = command.Replace("'", "'\\''");
|
||||||
args = $"-c '{escapedCommand} >> \"{signLogFile}\" 2>&1'";
|
args = $"-c \"{escapedCommand} >> \\\"{signLogFile}\\\" 2>&1\"";
|
||||||
}
|
}
|
||||||
|
|
||||||
var psi = new ProcessStartInfo {
|
var psi = new ProcessStartInfo {
|
||||||
|
|||||||
Reference in New Issue
Block a user