summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/IMO2sProxy/bin
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-22 21:43:08 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-22 21:43:08 +0000
commit07ddfbd5994267e0f1aba52040a25db90ed8924b (patch)
treee33f1fe629f4e74b4bb31cbdcf41a2c2451bf599 /plugins/!NotAdopted/IMO2sProxy/bin
parent3c0a624abd362e45502619648670ace62b2efa3e (diff)
IMO2sProxy reverted. maybe will be needed later
git-svn-id: http://svn.miranda-ng.org/main/trunk@2809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/IMO2sProxy/bin')
-rw-r--r--plugins/!NotAdopted/IMO2sProxy/bin/setupimo.bat24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/IMO2sProxy/bin/setupimo.bat b/plugins/!NotAdopted/IMO2sProxy/bin/setupimo.bat
new file mode 100644
index 0000000000..9c765c6479
--- /dev/null
+++ b/plugins/!NotAdopted/IMO2sProxy/bin/setupimo.bat
@@ -0,0 +1,24 @@
+@echo off
+SET /P USER=Skype username:
+IF "%USER%"=="" (
+ echo Username is mandatory, aborting.
+ GOTO fini
+)
+SET /P PASS=Skype password:
+IF "%PASS%"=="" (
+ echo Password is mandatory, aborting.
+ GOTO fini
+)
+SET /P IP=Bind to IP [0.0.0.0]:
+SET /P PORT=Bind to Port [1401]:
+SET /P DAEM=Do you want to daemonize [N]:
+IF /I "%DAEM%" NEQ "Y" SET /P VERB=Do you want verbose command output [N]:
+IF /I "%DAEM%"=="Y" SET CMDLINE=%CMDLINE% -d
+IF /I "%VERB%"=="Y" SET CMDLINE=%CMDLINE% -v
+IF NOT "%IP%"=="" SET CMDLINE=%CMDLINE% -h %IP%
+IF NOT "%PORT%"=="" SET CMDLINE=%CMDLINE% -p %PORT%
+SET CMDLINE=%CMDLINE% %USER% %PASS%
+echo imo2sproxy %CMDLINE% >startimo.bat
+echo startimo.bat created.
+:fini
+pause