Jump to content

update-osbot.sh: An easy shell script to keep OSBot up-to-date


Recommended Posts

Posted (edited)

I'm releasing a useful bash script of mine, update-osbot.sh to the OSBot community! This script makes updating OSBot something you never have to worry about.

Features

  • Downloads the latest jar from https://osbot.org/mvc/get
  • Update a specific OSBot jar file, or default to ~/OSBot/osbot.jar which is created automatically.
  • Backs up old versions of OSBot to ~/OSBot/osbot.jar-backups/, just in case.
  • No-clutter logging makes it easy to stay up to date

Usage

It really couldn't be simpler. Just invoke it using bash before you run scripts via CLI!

$ bash update-osbot.sh
$ bash update-osbot.sh path/to/osbot.jar

Protip: You can also set the executable permission using chmod lets you run it directly:

$ chmod +x update-osbot.sh
$ ./update-osbot.sh

Portability

  • Works on most Linux distributions, like Ubuntu, right out of the box! (Uses curl or wget)
  • Works on Windows if you have a bash interpreter, such as Git BASH included in gitforwindows.

Download update-osbot.sh from the GitHub repository

Tip: Right-click, Save link as... will save it directly. Using a Linux VPS? Use wget to download it:

wget https://raw.githubusercontent.com/OzzyCallooh/update-osbot.sh/master/update-osbot.sh -O update-osbot.sh

Enjoy guys, let me know if this was useful in your botting workflow 😎

Edited by agentcallooh
  • Like 2
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...