diff --git a/src/TwitchStreamingTools/Views/MainWindow.axaml.cs b/src/TwitchStreamingTools/Views/MainWindow.axaml.cs index d28ba56..c308354 100644 --- a/src/TwitchStreamingTools/Views/MainWindow.axaml.cs +++ b/src/TwitchStreamingTools/Views/MainWindow.axaml.cs @@ -45,7 +45,7 @@ protected override void OnInitialized() { // handle the command line arguments for updating the application if applicable. string[] args = Environment.GetCommandLineArgs(); if (args.Contains("--update")) { - _ = GitHubUpdateManager.PerformUpdateAndRestart("nullinside-development-group", "twitch-streaming-tools", args[2], "twitch-streaming-tools.zip "); + _ = GitHubUpdateManager.PerformUpdateAndRestart("nullinside-development-group", "twitch-streaming-tools", args[2].Trim('"').Trim(), "twitch-streaming-tools.zip"); return; }