Delete scripts/ComfyUI/UmeAiRT-Install-ComfyUI.bat
Browse files
scripts/ComfyUI/UmeAiRT-Install-ComfyUI.bat
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
@echo off
|
2 |
-
|
3 |
-
:: ============================================================================
|
4 |
-
:: Section 1: Vérification et demande des privilèges d'administrateur
|
5 |
-
:: ============================================================================
|
6 |
-
net session >nul 2>&1
|
7 |
-
if %errorlevel% NEQ 0 (
|
8 |
-
echo [INFO] Demande des privilèges d'administrateur...
|
9 |
-
powershell.exe -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
|
10 |
-
exit
|
11 |
-
)
|
12 |
-
|
13 |
-
:: ============================================================================
|
14 |
-
:: Section 2: Mise à jour des scripts depuis Hugging Face
|
15 |
-
:: ============================================================================
|
16 |
-
title UmeAiRT ComfyUI Installer
|
17 |
-
echo [OK] Privileges d'administrateur confirmes.
|
18 |
-
echo.
|
19 |
-
|
20 |
-
set "ScriptsFolder=%~dp0scripts"
|
21 |
-
if not exist "%ScriptsFolder%" (
|
22 |
-
echo [INFO] Creation du dossier pour les scripts : %ScriptsFolder%
|
23 |
-
mkdir "%ScriptsFolder%"
|
24 |
-
)
|
25 |
-
echo [INFO] Telechargement des dernieres versions des scripts d'installation...
|
26 |
-
|
27 |
-
echo - Telechargement de Install-ComfyUI.ps1...
|
28 |
-
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/ComfyUI/Install-ComfyUI.ps1?download=true' -OutFile '%ScriptsFolder%\Install-ComfyUI.ps1'"
|
29 |
-
echo - Telechargement de Download-FLUX-Models.ps1...
|
30 |
-
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/Model_downloader/Download-FLUX-Models.ps1?download=true' -OutFile '%ScriptsFolder%\Download-FLUX-Models.ps1'"
|
31 |
-
echo - Telechargement de Download-WAN-Models.ps1...
|
32 |
-
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/Model_downloader/Download-WAN-Models.ps1?download=true' -OutFile '%ScriptsFolder%\Download-WAN-Models.ps1'"
|
33 |
-
echo - Telechargement de Download-HIDREAM-Models.ps1...
|
34 |
-
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/Model_downloader/Download-HIDREAM-Models.ps1?download=true' -OutFile '%ScriptsFolder%\Download-HIDREAM-Models.ps1'"
|
35 |
-
echo - Telechargement de Download-LTXV-Models.ps1...
|
36 |
-
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/Model_downloader/Download-LTXV-Models.ps1?download=true' -OutFile '%ScriptsFolder%\Download-LTXV-Models.ps1'"
|
37 |
-
|
38 |
-
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/ComfyUI/UmeAiRT-Start-ComfyUI.bat' -OutFile '%~dp0UmeAiRT-Start-ComfyUI.bat'"
|
39 |
-
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/scripts/Model_downloader/UmeAiRT-Download_models.bat' -OutFile '%~dp0UmeAiRT-Download_models.bat'"
|
40 |
-
|
41 |
-
echo [OK] Scripts mis a jour.
|
42 |
-
echo.
|
43 |
-
|
44 |
-
:: ============================================================================
|
45 |
-
:: Section 3: Exécution du script principal
|
46 |
-
:: ============================================================================
|
47 |
-
echo [INFO] Lancement du script d'installation principal...
|
48 |
-
echo.
|
49 |
-
|
50 |
-
REM NOUVEAU : On passe le chemin d'installation en argument avec -InstallPath
|
51 |
-
powershell.exe -ExecutionPolicy Bypass -File "%ScriptsFolder%\Install-ComfyUI.ps1" -InstallPath "%~dp0"
|
52 |
-
|
53 |
-
echo.
|
54 |
-
echo [INFO] L'execution du script est terminee.
|
55 |
-
pause
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|