-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_with_github.bat
More file actions
64 lines (55 loc) · 1.45 KB
/
install_with_github.bat
File metadata and controls
64 lines (55 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
@echo off
chcp 65001 >nul
echo ============================================
echo COSMIC DEFENDER - INSTALLATION COMPLÈTE
echo ============================================
echo.
REM Vérifier Python
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ❌ Python n'est pas installé ou pas dans le PATH
echo Téléchargez Python depuis https://python.org
pause
exit /b 1
)
echo ✅ Python détecté avec succès !
echo.
echo Installation des dépendances (y compris GitHub)...
pip install -r requirements.txt
if %errorlevel% neq 0 (
echo ❌ Erreur lors de l'installation des dépendances
pause
exit /b 1
)
echo.
echo ✅ Installation terminée avec succès !
echo.
echo 🎮 Fonctionnalités installées :
echo • Jeu Cosmic Defender complet
echo • Mode Campagne et Infini
echo • Leaderboard local et web
echo • Upload automatique GitHub
echo.
echo ============================================
echo LANCEMENT DE COSMIC DEFENDER
echo ============================================
echo.
echo Lancement du jeu...
python cosmic_defender.py
if %errorlevel% neq 0 (
echo.
echo ❌ Le jeu s'est fermé avec une erreur.
echo.
) else (
echo.
echo ✅ Jeu terminé normalement.
echo.
)
echo Merci d'avoir joué à Cosmic Defender !
echo.
echo 🌐 Pour configurer l'upload automatique :
echo 1. Lancez le jeu
echo 2. Cliquez sur "GITHUB SETUP"
echo 3. Suivez le guide GUIDE_AUTO_UPLOAD.md
echo.
pause