We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d26e5f5 commit b78effbCopy full SHA for b78effb
bin/prepare_windows_host_for_app_distribution.ps1
@@ -1,3 +1,7 @@
1
+param (
2
+ [switch]$SkipWindows10SDKInstallation = $false
3
+)
4
+
5
# Stop script execution when a non-terminating error occurs
6
$ErrorActionPreference = "Stop"
7
@@ -89,6 +93,11 @@ Write-Host "--- :windows: Checking whether to install Windows 10 SDK..."
89
93
#
90
94
# See https://github.com/hermit99/electron-windows-store/tree/v2.1.2?tab=readme-ov-file#usage
91
95
96
+if ($SkipWindows10SDKInstallation) {
97
+ Write-Host "Run with SkipWindows10SDKInstallation = true. Skipping Windows 10 SDK installation check."
98
+ exit 0
99
+}
100
92
101
$windowsSDKVersionFile = ".windows-10-sdk-version"
102
if (Test-Path $windowsSDKVersionFile) {
103
Write-Host "Found $windowsSDKVersionFile file, installing Windows 10 SDK..."
0 commit comments