Skip to content

Instantly share code, notes, and snippets.

@kiliman
Created March 23, 2022 03:29
Show Gist options
  • Save kiliman/3c28167ecacec6c3ded891053aafe1a7 to your computer and use it in GitHub Desktop.
Save kiliman/3c28167ecacec6c3ded891053aafe1a7 to your computer and use it in GitHub Desktop.
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@remix-run\dev\cli.js" %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment