Last active
January 1, 2016 23:54
-
-
Save filipnyquist/e94f5118df90e2de0815 to your computer and use it in GitHub Desktop.
This file contains 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 | |
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 |
This file contains 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
#!/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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rightclick on raw and select save as or download zip file, run the Install.bat file and it will do the rest for you!