Make cmder portable
This commit is contained in:
17
bin/laragon/Procfile.bat
Normal file
17
bin/laragon/Procfile.bat
Normal file
@@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
|
||||
@if "%2"=="" (SET FULL_TITLE=%1) else (SET FULL_TITLE=%2)
|
||||
::SET FULL_TITLE=%1
|
||||
for %%f in (%FULL_TITLE%) do set TER_TITLE=%%~nxf
|
||||
title %TER_TITLE% - %FULL_TITLE%
|
||||
|
||||
|
||||
call %~dp0laragon.cmd
|
||||
|
||||
cd /d "%1"
|
||||
|
||||
if not '"%2"'=='""""' if not '"%2"'=='""' (
|
||||
call "%2"
|
||||
) else (
|
||||
rem
|
||||
)
|
||||
Reference in New Issue
Block a user