-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
36 lines (31 loc) · 780 Bytes
/
Copy pathinstall.bat
File metadata and controls
36 lines (31 loc) · 780 Bytes
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
@echo off
setlocal
title LUT Studio Generator Installer
set "SCRIPT_DIR=%~dp0"
cd /d "%SCRIPT_DIR%"
echo.
echo ========================================================
echo LUT STUDIO GENERATOR - INSTALLER
echo ========================================================
echo.
echo This will install the portable runtime into:
echo %SCRIPT_DIR%bin
echo.
where powershell >nul 2>&1
if errorlevel 1 (
echo [ERROR] Windows PowerShell was not found.
pause
exit /b 1
)
powershell -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%scripts\install.ps1"
if errorlevel 1 (
echo.
echo [ERROR] Install failed. Check the messages above.
pause
exit /b 1
)
echo.
echo [OK] Install complete.
echo Run start.bat to launch the app.
echo.
pause