-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlaunch.bat
More file actions
31 lines (29 loc) · 1.11 KB
/
launch.bat
File metadata and controls
31 lines (29 loc) · 1.11 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
@echo off
cd /d "%~dp0"
echo ===================================================
echo CloudStream Desktop (DEV - console logs visible)
echo ===================================================
echo.
echo Running via Gradle. Logs print in this window.
echo For packaged .exe without console, use launch-release.bat
echo.
IF NOT EXIST "android-reference\settings.gradle.kts" (
echo [INFO] android-reference submodule is empty. Attempting to fetch automatically...
git submodule update --init --recursive
IF NOT EXIST "android-reference\settings.gradle.kts" (
echo.
echo [FATAL ERROR] The android-reference folder is STILL empty!
echo This happens because you downloaded this repository as a ZIP file from GitHub.
echo GitHub ZIP downloads DO NOT include submodules.
echo.
echo PLEASE DELETE THIS FOLDER AND USE THIS EXACT COMMAND IN YOUR TERMINAL:
echo git clone --recursive https://github.com/YourUsername/cloudstream-windows.git
echo.
pause
exit /b 1
)
)
call gradlew :desktop-app:run
echo.
echo App exited with code %errorlevel%
pause