Correct version in Windows Terminal;
- windows/StartI2PdBrowser.bat - windows_prebuilt/src/StartI2PdBrowser.bat - Uses Git to determine current version. - Displays the correct version in the startup window.
This commit is contained in:
parent
7e65f8f3aa
commit
b87f3c7e39
@ -3,7 +3,9 @@ REM Copyright (c) 2013-2019, The PurpleI2P Project
|
||||
REM This file is part of Purple i2pd project and licensed under BSD3
|
||||
REM See full license text in LICENSE file at top of project tree
|
||||
|
||||
title Starting I2Pd Browser 1.2.8
|
||||
FOR /F "tokens=*" %%t IN ('git describe --tags') do (SET version=%%t)
|
||||
|
||||
title Starting I2Pd Browser %version%
|
||||
set $pause=ping.exe 0.0.0.0 -n
|
||||
set $cd=%CD%
|
||||
ver| find "6." >nul && set $pause=timeout.exe /t
|
||||
@ -42,11 +44,11 @@ rem ==========================================================================
|
||||
|
||||
rem ==========================================================================
|
||||
rem Ïðîöåäóðà EchoWithoutCrLf
|
||||
rem
|
||||
rem
|
||||
rem %1 : òåêñò äëÿ âûâîäà.
|
||||
rem ==========================================================================
|
||||
:EchoWithoutCrLf
|
||||
|
||||
|
||||
<nul set /p strTemp=%~1
|
||||
exit /b 0
|
||||
rem ==========================================================================
|
||||
|
@ -3,7 +3,9 @@ REM Copyright (c) 2013-2019, The PurpleI2P Project
|
||||
REM This file is part of Purple i2pd project and licensed under BSD3
|
||||
REM See full license text in LICENSE file at top of project tree
|
||||
|
||||
title Starting I2Pd Browser 1.2.8
|
||||
FOR /F "tokens=*" %%t IN ('git describe --tags') do (SET version=%%t)
|
||||
|
||||
title Starting I2Pd Browser %version%
|
||||
set $pause=ping.exe 0.0.0.0 -n
|
||||
set $cd=%CD%
|
||||
ver| find "6." >nul && set $pause=timeout.exe /t
|
||||
@ -38,6 +40,6 @@ cd %$cd%
|
||||
exit /b 0
|
||||
|
||||
:EchoWithoutCrLf
|
||||
|
||||
|
||||
<nul set /p strTemp=%~1
|
||||
exit /b 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user