Last active
September 6, 2018 15:12
-
-
Save DrDoctor13/ff141edf1bf7ab4153ccf0e639e3c487 to your computer and use it in GitHub Desktop.
Origin Updater
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
#!/bin/bash | |
echo "Downloading latest Origin setup file" | |
sleep 1 | |
wget "https://download.dm.origin.com/origin/live/OriginSetup.exe" | |
echo "Extracting to .zip file" | |
sleep 1 | |
unzip OriginSetup.exe 'update/*.zip' | |
sleep 1 | |
echo "Enter Origin installation directory" | |
read path | |
unzip -o ./update/*.zip -d $path | |
echo "Cleaning up..." | |
sleep 1 | |
rm -r ./update | |
rm OriginSetup.exe | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment