Skip to content

Commit

Permalink
added Windows startup batch file
Browse files Browse the repository at this point in the history
  • Loading branch information
rahra committed Mar 9, 2023
1 parent 4ed19ea commit 2f41989
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions windows/ocat.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@echo off

set ONIONURL=SET_THIS_PROPERLY

if "%ONIONURL%" == "SET_THIS_PROPERLY" (
echo "Your have to set the variable ONIONURL within this script to a proper .onion URL."
pause
exit
)

set mypath=%~dp0
cd %mypath:~0,-1%

ocat.exe -e ocat-ifup.bat %ONIONURL%

0 comments on commit 2f41989

Please sign in to comment.