mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 07:04:35 +00:00
17 lines
478 B
Batchfile
17 lines
478 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
REM Launch a locally built maturita.exe with the GTK4 runtime on PATH, so the
|
|
REM app can be started by double-clicking even when GTK is not installed
|
|
REM system-wide.
|
|
|
|
if not defined GTK_ROOT set "GTK_ROOT=C:\gtk"
|
|
set "PATH=%GTK_ROOT%\bin;%PATH%"
|
|
|
|
if not exist "%~dp0maturita.exe" (
|
|
echo [error] maturita.exe not found next to this script.
|
|
echo Build it first with build-windows.bat.
|
|
exit /b 1
|
|
)
|
|
|
|
start "" /D "%~dp0" "%~dp0maturita.exe"
|