forked from oberwager/box-turtle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
17 lines (15 loc) · 719 Bytes
/
start.bat
File metadata and controls
17 lines (15 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off
SET rpc="test"
set /P user=Enter Wallet name:
set /P pass=Enter Wallet Pass:
if exist scripts\%user% (
echo file exists
start cmd.exe /k "scripts\turtle-service.exe" -w scripts\%user% -p %pass% --rpc-password test --daemon-address public.turtlenode.io --enable-cors *
start "" scripts\index.html
) else (
echo file doesn't exist
start cmd.exe /k "scripts\turtle-service.exe" -g -w scripts\%user% -p %pass% --rpc-password test --daemon-address public.turtlenode.io --enable-cors *
ping -n 3 127.0.0.1 > nul
start cmd.exe /k "scripts\turtle-service.exe" -w scripts\%user% -p %pass% --rpc-password test --daemon-address public.turtlenode.io --enable-cors *
start "" scripts\index.html
)