Skip to content

Commit 7bb0a76

Browse files
authored
Refactor process command for better readability
1 parent 6eaf499 commit 7bb0a76

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

StabilityMatrix.Avalonia/Helpers/WindowsPrerequisiteHelper.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,18 @@ await downloadService.DownloadToFileAsync(
782782

783783
var process = ProcessRunner.StartAnsiProcess(
784784
VcBuildToolsDownloadPath,
785-
"--quiet --wait --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.VC.Llvm.Clang --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --add Microsoft.VisualStudio.Component.Windows10SDK.18362 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Component.Windows10SDK.20348 --add Microsoft.VisualStudio.Component.Windows11SDK.22000 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Component.Windows11SDK.26100",
785+
"--quiet --wait " +
786+
"--add Microsoft.VisualStudio.Workload.VCTools " +
787+
"--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 " +
788+
"--add Microsoft.VisualStudio.Component.VC.CMake.Project " +
789+
"--add Microsoft.VisualStudio.Component.VC.Llvm.Clang " +
790+
"--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang " +
791+
"--add Microsoft.VisualStudio.Component.Windows10SDK.18362 " +
792+
"--add Microsoft.VisualStudio.Component.Windows10SDK.19041 " +
793+
"--add Microsoft.VisualStudio.Component.Windows10SDK.20348 " +
794+
"--add Microsoft.VisualStudio.Component.Windows11SDK.22000 " +
795+
"--add Microsoft.VisualStudio.Component.Windows11SDK.22621 " +
796+
"--add Microsoft.VisualStudio.Component.Windows11SDK.26100",
786797
outputDataReceived: output =>
787798
progress?.Report(
788799
new ProgressReport(

0 commit comments

Comments
 (0)