Browse Source

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.
master
Renegade-Master 2 years ago
parent
commit
b87f3c7e39
No known key found for this signature in database
GPG Key ID: 383DB8EE64843E25
  1. 4
      windows/StartI2PdBrowser.bat
  2. 4
      windows_prebuilt/src/StartI2PdBrowser.bat

4
windows/StartI2PdBrowser.bat

@ -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 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 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 $pause=ping.exe 0.0.0.0 -n
set $cd=%CD% set $cd=%CD%
ver| find "6." >nul && set $pause=timeout.exe /t ver| find "6." >nul && set $pause=timeout.exe /t

4
windows_prebuilt/src/StartI2PdBrowser.bat

@ -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 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 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 $pause=ping.exe 0.0.0.0 -n
set $cd=%CD% set $cd=%CD%
ver| find "6." >nul && set $pause=timeout.exe /t ver| find "6." >nul && set $pause=timeout.exe /t

Loading…
Cancel
Save