diff --git a/installer.ps1 b/installer.ps1 index 9436e0a..4931081 100644 --- a/installer.ps1 +++ b/installer.ps1 @@ -473,6 +473,10 @@ If device supports WiFi, prompt to configure $configLines+= "#define IP_PORT 2560" $configLines+= "#define WIFI_HOSTNAME ""dccex""" $configLines+= "#define WIFI_CHANNEL 1" + if ($wifiChoice -eq 2) { + $configLines+= "#define WIFI_SSID ""Your network name""" + $configLines+= "#define WIFI_PASSWORD ""Your network passwd""" + } if ($wifiChoice -eq 3) { $wifiSSID = Read-Host "Please enter the SSID of your home network here" $wifiPassword = Read-Host "Please enter your home network WiFi password here"