Jump to content

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


agentcallooh

Recommended Posts

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
Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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