Upload Install-ComfyUI.ps1
Browse files
scripts/ComfyUI/Install-ComfyUI.ps1
CHANGED
|
@@ -21,7 +21,8 @@ param(
|
|
| 21 |
#===========================================================================
|
| 22 |
# SECTION 1: SCRIPT CONFIGURATION & HELPER FUNCTIONS
|
| 23 |
#===========================================================================
|
| 24 |
-
|
|
|
|
| 25 |
# --- Force TLS 1.2 for all web requests ---
|
| 26 |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
| 27 |
|
|
|
|
| 21 |
#===========================================================================
|
| 22 |
# SECTION 1: SCRIPT CONFIGURATION & HELPER FUNCTIONS
|
| 23 |
#===========================================================================
|
| 24 |
+
# On retire les guillemets que le .bat pourrait ajouter à l'argument
|
| 25 |
+
$InstallPath = $InstallPath.Trim('"')
|
| 26 |
# --- Force TLS 1.2 for all web requests ---
|
| 27 |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
| 28 |
|