forked from ravendb/ravendb
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RavenDB-2778 When running start.cmd for the first time open ravendb.n…
…et/first-run page in a web browser
- Loading branch information
Arkadiusz Palinski
committed
Oct 8, 2014
1 parent
50c0f39
commit e2d9d08
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
start %~dp0\Server\Raven.Server.exe --debug --browser | ||
@echo off | ||
|
||
Setlocal ENABLEDELAYEDEXPANSION | ||
|
||
IF NOT EXIST version.txt ( | ||
GOTO FIRST-RUN-START | ||
) ELSE ( | ||
set /p Build=<version.txt | ||
|
||
IF !Build! NEQ 3.0.{build} (GOTO FIRST-RUN-START) ELSE (GOTO START-RAVENDB) | ||
) | ||
|
||
:START-RAVENDB | ||
start %~dp0\Server\Raven.Server.exe --debug --browser | ||
GOTO END | ||
|
||
:FIRST-RUN-START | ||
start http://ravendb.net/first-run?type=start^&ver=3.0.{build} | ||
echo.|set /p="3.0.{build}">version.txt | ||
GOTO START-RAVENDB | ||
GOTO END | ||
|
||
:END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters