Giter VIP home page Giter VIP logo

online-update's Introduction

Démarrage rapide

Online-update est un programme python permettant de mettre a jour des dossier et de fichier depuis une url web.

Mode préconfiguré

Le fichier lite-updater.py permet au créateur d’un programme de pré-configuré online-update pour directement téléchargé depuis une url web.
Pour cela il suffit de modifier updfile = None à la ligne 25 par l’url du fichier d’update.
Il est aussi possible de modifier a langue de l’updater, français (fr) ou anglais (en) a la ligne 29.

Mode cli

Le second fichier, updater.py affiche une interface cli permettant de saisir l’url des commandes.

Commandes

LANG

lang permet de saisir la langue de l'updater, en/fr

lang <langue>
lang fr

DL

dl permet de téléchargé un registre directement depuis son url

dl <chemin> <url>
dl /main https://raw.githubusercontent.com/pf4-DEV/glade/main/update.txt

ROAD

road permet de géré la liste des fichier de redirection:
road list affiche la liste
road add ajoute une url a la liste
road del supprime une url a la liste
road read lie les fichier de redirection

RDL

rdl téléchargé un registre depuis les fichier de redirection:\

dl <chemin> + <nom>
dl /main glade

Créer un registre d’update

Le registre d’update différencie tout les dossier et fichier à créer et/ou télécharger.

Création du dossier

l’entièreté des chemins de fichier son en relatif par rapport a l’updater
La commande mkd suivit du nom du dossier a créé permet de créer un dossier:

mkd /mod

Téléchargement de fichier

La commande wgt suivit du nom du ficher et de son url (séparé par une virgule) permet de téléchargé un fichier:

wgt /direct-time.pyw, https://raw.githubusercontent.com/pf4-DEV/glade/main/direct-time.pyw

Exemple

registre de mise a jour de Glade
https://raw.githubusercontent.com/pf4-DEV/glade/main/update.txt

mkd /container
...

wgt /glade-cli.py, https://raw.githubusercontent.com/pf4-DEV/glade/main/glade-cli.py
wgt /system/glade/Compiler.py, https://raw.githubusercontent.com/pf4-DEV/glade/main/system/glade/Compiler.py
...

Créer un fichier de routage

le ficher de routage doit contenir le nom et d'url de redirection séparé par une virgule

glade, https://raw.githubusercontent.com/pf4-DEV/glade/main/update.txt

online-update's People

Contributors

elydre avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.