diff --git a/dist/DiscordLyrics-Installer.exe b/dist/DiscordLyrics-Installer.exe index 474d79c..4fa64ea 100644 Binary files a/dist/DiscordLyrics-Installer.exe and b/dist/DiscordLyrics-Installer.exe differ diff --git a/dist/DiscordLyrics-Installer.ps1 b/dist/DiscordLyrics-Installer.ps1 index 0962aa0..21a1cdf 100644 --- a/dist/DiscordLyrics-Installer.ps1 +++ b/dist/DiscordLyrics-Installer.ps1 @@ -91,6 +91,7 @@ function Invoke-CheckedCommand { $StartInfo = [System.Diagnostics.ProcessStartInfo]::new() $StartInfo.FileName = "$env:ComSpec" $StartInfo.Arguments = "/d /s /c `"$CommandLine 2>&1`"" + $StartInfo.WorkingDirectory = (Get-Location).ProviderPath $StartInfo.UseShellExecute = $false $StartInfo.RedirectStandardOutput = $true $StartInfo.CreateNoWindow = $true diff --git a/dist/DiscordLyrics-release.zip b/dist/DiscordLyrics-release.zip index 73f9d3d..4b396c1 100644 Binary files a/dist/DiscordLyrics-release.zip and b/dist/DiscordLyrics-release.zip differ diff --git a/scripts/DiscordLyrics-Installer.ps1 b/scripts/DiscordLyrics-Installer.ps1 index 0962aa0..21a1cdf 100644 --- a/scripts/DiscordLyrics-Installer.ps1 +++ b/scripts/DiscordLyrics-Installer.ps1 @@ -91,6 +91,7 @@ function Invoke-CheckedCommand { $StartInfo = [System.Diagnostics.ProcessStartInfo]::new() $StartInfo.FileName = "$env:ComSpec" $StartInfo.Arguments = "/d /s /c `"$CommandLine 2>&1`"" + $StartInfo.WorkingDirectory = (Get-Location).ProviderPath $StartInfo.UseShellExecute = $false $StartInfo.RedirectStandardOutput = $true $StartInfo.CreateNoWindow = $true