Skip to content

Instantly share code, notes, and snippets.

@filipnyquist
Last active January 1, 2016 23:54
Show Gist options
  • Save filipnyquist/e94f5118df90e2de0815 to your computer and use it in GitHub Desktop.
Save filipnyquist/e94f5118df90e2de0815 to your computer and use it in GitHub Desktop.
@echo off
echo Downloading and installing arg tester by opl...
powershell -command "& { (New-Object Net.WebClient).DownloadFile('https://github.com/opl-/winter-arg-tester/archive/master.zip', 'master.zip') }"
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://all-radio.se/7za.dll', '7za.dll') }"
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://all-radio.se/7zxa.dll', '7zxa.dll') }"
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://all-radio.se/7za.exe', '7za.exe') }"
7za.exe x master.zip
echo Installing node(portable)
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://nodejs.org/dist/latest/win-x86/node.exe', 'node.exe') }"
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://nodejs.org/dist/latest/win-x86/node.lib', 'node.lib') }"
move node.exe winter-arg-tester-master/node.exe
move node.lib winter-arg-tester-master/node.lib
echo Downloading script to run...
echo node.exe cli.js bot > Runbotmode.bat
move Runbotmode.bat winter-arg-tester-master/Runbotmode.bat
echo Done Installing, run "Runbotmode.bat" in folder "winter-arg-tester-master" to start the bot!
pause
#!/bin/bash
# Script to download and install opls script automatically
echo "Installing dependencies"
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install zip
wget https://github.com/opl-/winter-arg-tester/archive/master.zip
unzip master.zip
rm master.zip
echo "Done downloading, go into winter-arg-tester and type: nodejs cli.js bot"
@filipnyquist
Copy link
Author

Rightclick on raw and select save as or download zip file, run the Install.bat file and it will do the rest for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment