Created
November 13, 2012 18:37
-
-
Save gavinblair/4067550 to your computer and use it in GitHub Desktop.
open weinre server and page in chrome
This file contains hidden or 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
@echo off | |
set ip_address_string="IPv4 Address" | |
for /f "usebackq tokens=2 delims=:" %%f in (`ipconfig ^| findstr /c:%ip_address_string%`) do ( | |
start C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe http://%%f:8080 | |
"C:\Program Files (x86)\nodejs\node.exe" node_modules\weinre\weinre\ --boundHost -all- | |
goto :eof | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment