Advertisement
opexxx

iron_wasp_setup.sh

Nov 25th, 2014
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.56 KB | None | 0 0
  1. #!/bin/bash
  2. echo "======================================================================================"
  3. echo "|  _____  _______      ___   ____  _____  ____      ____  _       ______   _______   |"
  4. echo "| |_   _||_   __ \   .'   \`.|_   \|_   _||_  _|    |_  _|/ \    .' ____ \ |_   __ \  | "
  5. echo "|   | |    | |__) | /  .-.  \ |   \ | |    \ \  /\  / / / _ \   | (___ \_|  | |__) | |"
  6. echo "|   | |    |  __ /  | |   | | | |\ \| |     \ \/  \/ / / ___ \   _.____\`.   |  ___/  | "
  7. echo "|  _| |_  _| |  \ \_\  \`-'  /_| |_\   |_     \  /\  /_/ /   \ \_| \____) | _| |_     | "
  8. echo "| |_____||____| |___|\`.___.'|_____|\____|     \/  \/|____| |____|\______.'|_____|    | "
  9. echo "|                                                                                    |"
  10. echo "======================================================================================"
  11. echo "                               IRONWASP Linux Installer                               "
  12. echo ""
  13. echo "Will automatically install and configure IRONWASP."
  14. echo "All you need to click is next next next"
  15. echo ""
  16. echo "Script Written by Anant shrivastava http://anantshri.info"
  17. echo "Grab the latest script here : http://blog.anantshri.info/ironwasp-on-linux/"
  18. echo ""
  19. read -p "press any key to continue" input_cmd
  20. echo "Creating directories"
  21. export WINEARCH=win32
  22. PTH="${HOME}/IRONWASP"
  23. iPTH=$PTH"/installer"
  24. #mkdir $PTH
  25. echo "Starting Wine configuration"
  26. WINEPREFIX=$PTH wineboot
  27. mkdir $iPTH
  28. wget http://winetricks.org/winetricks -O $iPTH/winetricks
  29. chmod 755 $iPTH/winetricks
  30. mkdir -p ${HOME}/.cache/winetricks/dotnet20
  31. mkdir -p ${HOME}/.cache/winetricks/dotnet20sp2/
  32. wget "http://software-files-a.cnet.com/s/software/10/72/60/27/dotnetfx.exe?lop=link&ptype=3001&ontid=10250&siteId=4&edId=3&spi=7ec4900c54e5e5d926fdb88141df2ffa&pid=10726027&psid=10726028&token=1365007355_9a84f88c7edb656b78f0c12e89859064&fileName=dotnetfx.exe" -O ${HOME}"/.cache/winetricks/dotnet20/dotnetfx.exe"
  33. #wget "http://software-files-a.cnet.com/s/software/10/72/60/27/dotnetfx.exe" -O ${HOME}"/.cache/winetricks/dotnet20/dotnetfx.exe"
  34. ##wget "http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe" -O ${HOME}"/.cache/winetricks/dotnet20sp2/dotnetfx.exe"
  35. WINEPREFIX=$PTH sh $iPTH/winetricks dotnet20sp2 fontfix
  36. wget http://ironwasp.org/ironwasp.zip -O $iPTH/ironwasp.zip
  37. unzip $iPTH/ironwasp.zip -d $PTH/drive_c/
  38. #rm -rf $PTH
  39. #create a script on desktop
  40. cat << EOF  > ~/Desktop/IronWasp
  41. #!/bin/bash
  42. cd $PTH
  43. WINEPREFIX=$PTH wine 'c:/IronWASP/IronWASP.exe'
  44. EOF
  45. chmod +x ~/Desktop/IronWasp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement