mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-04 06:31:47 +00:00
* Lets us install tgui merge drivers on windows * test this * gamer mode * debug * do it like this * test * test this * stop it being weirdly relative * more relative fixes * try cat * indentation * update CI stuff to cache * correct this * yarn * yarn consistency * do we even need to do this? (no we don't) * properly cache yarn deps in ci * Why do we even have that step --------- Co-authored-by: github-actions <github-actions@github.com>
19 lines
581 B
Batchfile
19 lines
581 B
Batchfile
@call "%~dp0\..\bootstrap\python" -m hooks.install %*
|
|
@echo off
|
|
set /p choice=Do you want to install TGUI hooks (requires Node.js)? (Y/N):
|
|
|
|
if /i "%choice%"=="Y" (
|
|
@echo off
|
|
rem Copyright (c) 2020 Aleksej Komarov
|
|
rem SPDX-License-Identifier: MIT
|
|
call powershell.exe -NoLogo -ExecutionPolicy Bypass -File "%~dp0\..\..\tgui\bin\tgui_.ps1" --install-git-hooks %*
|
|
rem Pause if launched in a separate shell unless initiated from powershell
|
|
echo %PSModulePath% | findstr %USERPROFILE% >NUL
|
|
if %errorlevel% equ 0 (
|
|
pause
|
|
exit 0
|
|
)
|
|
echo %cmdcmdline% | find /i "/c"
|
|
)
|
|
pause
|