mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Current file header is : /*! showdown v 2.0.0-alpha1 - 25-09-2018 */ Official 2.0.0-alpha doesn't match neither on content nor date :( Considering date we would be at 1.8.7, but it is also quite different (and has vulnerabilities) In consequence switching to 2.0.0.
18 lines
312 B
Batchfile
18 lines
312 B
Batchfile
@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%\..\showdown\bin\showdown.js" %*
|