Skip to content

Commit

Permalink
Make burn arguments better
Browse files Browse the repository at this point in the history
  • Loading branch information
svrooij committed Jul 30, 2024
1 parent 8aaab47 commit 9b19e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WingetIntune/Intune/IntuneManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ private void ComputeInstallerCommands(ref PackageInfo package, PackageOptions pa
if (installerSwitches?.Contains("/quiet") != true)
{
installerSwitches += " " + DefaultInstallerSwitches[InstallerType.Burn];
installerSwitches = installerSwitches.Trim();
installerSwitches = string.Join(" ", installerSwitches.Split(' ').Distinct()).Trim();
}
package.InstallCommandLine = $"\"{package.InstallerFilename}\" {installerSwitches}";
// Have to check the uninstall command
Expand Down

0 comments on commit 9b19e37

Please sign in to comment.