Skip to content

A script that allows you to update other scripts. Uses Python and Bash.

Notifications You must be signed in to change notification settings

3v01ut10n/Script_Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Script Updater

A script that allows you to update other scripts. Uses Python 3.6+ and Bash.

The script makes a request to your domain and check the latest version in file version.html.
If the user’s version is less than indicated on the server, then the script will be updated.

File structure

│── updater.py
│── config.py  # The path to the script, the user writes for himself
│── const.py  # The current version of the script,  
URL to the archive with the latest update,  
URL to the HTML file with the latest version of the script.

How to use

  • Specify the URLs and version in the file const.py
  • On the server, create a file version.html, so that it is available at the link https://domain.com/version.html
    Write the latest version of your script in it.
  • Put the archive with the latest version of your script next and call last_update.tar.xz

About

A script that allows you to update other scripts. Uses Python and Bash.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages