Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

codexCollabMockPeer.cmd

8 lines360 Bytes

1@echo off
2rem Wrapper so CodexSessionRuntime can spawn the mock peer on Windows: the
3rem runtime always passes "app-server" as the first argument; drop it and
4rem run the .mjs peer with node. "shift /1" leaves %0 alone so %~dp0 still
5rem names this file's directory.
6shift /1
7node "%~dp0codexCollabMockPeer.mjs" %1 %2 %3 %4 %5 %6 %7 %8 %9
8exit /b %ERRORLEVEL%