@SETLOCAL
@IF NOT DEFINED NODE_PATH (
  @SET "NODE_PATH=C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\ts-patch@3.3.0\node_modules\ts-patch\bin\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\ts-patch@3.3.0\node_modules\ts-patch\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\ts-patch@3.3.0\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\node_modules"
) ELSE (
  @SET "NODE_PATH=C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\ts-patch@3.3.0\node_modules\ts-patch\bin\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\ts-patch@3.3.0\node_modules\ts-patch\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\ts-patch@3.3.0\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\node_modules;%NODE_PATH%"
)
@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\..\ts-patch\bin\ts-patch.js" %*
) ELSE (
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\..\ts-patch\bin\ts-patch.js" %*
)
