Advertisement
Calgon

script packager.bat

Nov 10th, 2011
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.02 KB | None | 0 0
  1. echo ------------------------------------------------ >> test.txt
  2. echo Running dump... >> test.txt
  3. C:\xampp\mysql\bin\mysqldump -u root --result-file="C:\Users\Calgon\Desktop\New-SAMP\Vortex Releases\Windows-Server\mysql-dump.sql" samp
  4. C:\xampp\mysql\bin\mysqldump -u root --result-file="C:\Users\Calgon\Desktop\New-SAMP\Vortex Releases\Linux-Server\mysql-dump.sql" samp
  5. echo Done!  >> test.txt
  6. echo Preparing Windows server package >> test.txt
  7. echo Copying pwn script to Windows server package >> test.txt
  8. xcopy vxrpscript\gamemodes\vx-rp.pwn Windows-Server\gamemodes\vx-rp.pwn /y
  9. echo Compressing Windows server package >> test.txt
  10. "zip.exe" -r "Windows-Server.zip" "Windows-Server"
  11. echo Copying pwn script to Linux server package >> test.txt
  12. xcopy vxrpscript\gamemodes\vx-rp.pwn Linux-Server\gamemodes\vx-rp.pwn /y
  13. echo Compressing Linux server package >> test.txt
  14. "zip.exe" -r "Linux-Server.zip" "Linux-Server"
  15. move Windows-Server.zip vxrpscript/Release/Windows-Server.zip
  16. move Linux-Server.zip vxrpscript/Release/Linux-Server.zip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement