@SETLOCAL
@IF NOT DEFINED NODE_PATH (
  @SET "NODE_PATH=C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\tsx@4.20.6\node_modules\tsx\dist\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\tsx@4.20.6\node_modules\tsx\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\tsx@4.20.6\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\tsx@4.20.6\node_modules\tsx\dist\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\tsx@4.20.6\node_modules\tsx\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\tsx@4.20.6\node_modules;C:\Users\Admin\Desktop\VencordMain\Vencord\node_modules\.pnpm\node_modules;%NODE_PATH%"
)
@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\..\tsx\dist\cli.mjs" %*
) ELSE (
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\..\tsx\dist\cli.mjs" %*
)
