You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617
  1. @ECHO off
  2. GOTO start
  3. :find_dp0
  4. SET dp0=%~dp0
  5. EXIT /b
  6. :start
  7. SETLOCAL
  8. CALL :find_dp0
  9. IF EXIST "%dp0%\node.exe" (
  10. SET "_prog=%dp0%\node.exe"
  11. ) ELSE (
  12. SET "_prog=node"
  13. SET PATHEXT=%PATHEXT:;.JS;=;%
  14. )
  15. endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@electron\windows-sign\bin\electron-windows-sign.js" %*