Files
pcsx-redux/dockershell.bat
T
Nicolas 'Pixel' Noble 1c4b67f6ce Drop the code-server image and its env file.
vscode.dev made the code-server container redundant years ago and nothing
has referenced it since. env.list only ever existed to give that image a
home directory, but dockermake and dockershell had come to rely on it for
the same reason, so HOME moves into the build image itself rather than
being passed in from the outside. cross-env.list stays: it carries the
aarch64 sysroot and pkg-config settings, and has nothing to do with any of
this.
2026-08-04 08:44:51 -07:00

24 lines
536 B
Batchfile

@echo off
set OLDCWD=%cd%
cd %~dp0
set ROOT=%cd%
cd %OLDCWD%
set REL=%OLDCWD%
SETLOCAL EnableDelayedExpansion
set MAT=
set UPP=
for /f "tokens=*" %%a in ('echo.%ROOT:\=^&echo.%') do (
set SUB=!SUB!%%a\
call set TMP=%%src:!SUB!=%%
set MAT=!SUB!
)
set REL=%UPP%!REL:%MAT%=!
if "!REL!" EQU "!ROOT!" (set REL=) ELSE (set "REL=!REL:\=/!")
set REL=/!REL!
docker pull ghcr.io/grumpycoders/pcsx-redux-build:latest
docker run --rm -t -i -w"/project%REL%" -v "%ROOT%:/project" ghcr.io/grumpycoders/pcsx-redux-build:latest bash -l