Code Monkey home page Code Monkey logo

s-update's Introduction

S-Update Logo

Say Thanks!

How to use it

First you need to install the Server on a Web Server. Put your files in the files/ folder Then, in your code, just insert that to update your program !

SUpdate su = new SUpdate("UrlOfTheServer", new File("OutputFolder"));
su.start();

Features

  • Automatic files checking with MD5s
  • Unknown files are deleted excepted the one listed in the server whitelist (config/ignore.list)
  • Modified files are re-downloaded
  • Multi-thread
  • Progress bar API

s-update's People

Contributors

dabsunter avatar dermenslof avatar litarvan avatar wytrem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

s-update's Issues

Questionnement

Bonjour, est-il possible de réduire le débit pris par l'api ?

-> Limiter à 1Mo/s
-> Limiter à 0.5Mo/s
Etc...

Merci d'avance !
Nem.

Probleme mise a jour

Le launcher se met a jour une seule fois et affiche une erreur les autres fois.
L'erreur est celle: "Impossible de mettre le jeu a jour!".

Pic CPU important pendant "Listing the files"

Bonjour / Bonsoir,

J'utilise tes libs pour le laucher de mon serveur FeedTheBeast privé, et pendant que le launcher liste les fichiers mon CPU monte directement à 100% et reste bloqué d'ailleurs :/. Pour informations j'utilise la dernière version de S-Update soit la 3.1.0-BETA. Si t'as besoin de screens, ect demande moi :)

EDIT: J'ai l'impression que c'est a cause du nombre de fichiers à lister.

Merci d'avance.

SUpdate // ignore.list

Permissions ==> 777 sur ignore list
Versions de SUpdate + SUpdate server => 3.1
Pas de faute de frappe dans l'ignore.list
ligne ==> su.getServerRequester().setRewriteEnabled(true); ajoutée
Fichiers transférés via WINSCP
et pourtant ==> options.txt & splash.properties se font toujours override par SUpdate et à chaque nouveau lancement de launcher les options reviennent comme sur mes FTP, alors que j'aimerais avoir une config de base mais modifiables...
Merci pour l'aide, et ggwp pour tout ça même 3 ans après damn

Je ne suis pas la, je me suis trompé

Salut,

J'ai un problème avec ma classe Launcher,
Je mets su.update();
Le problème est que ca me demande d'add un cast a "su.update()"
Le cast qui est rajouter est "((Launcher))". Quand je laisse le cast, sa me dis que ca peut pas convertir "Launcher" > "SUpdate"
Tu peux m'aider? j'utilise la derniere version de SUpdate.
J'ai essayé ton discord mais personne ne répond ( sa fais des heures et des heures que j'attends )

image

S-Update Method not allowed

Salut, j'ai un soucis avec SUpdate, en local (xampp) j'ai aucun soucis, tout fonctionne mais une fois mis sur un hébegement web, j'ai une erreur lors de la mise à jour des fichiers :

java.io.IOException: Server returned HTTP response code: 403 for URL: http://bootstrap.site.com/server/is-enabled at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at fr.theshark34.supdate.ServerRequester.send(ServerRequester.java:170) at fr.theshark34.supdate.ServerRequester.sendPostRequest(ServerRequester.java:100) at fr.theshark34.supdate.Updater.checkState(Updater.java:223) at fr.theshark34.supdate.Updater.start(Updater.java:111) at fr.theshark34.supdate.SUpdate.start(SUpdate.java:160) at mon.package.BootstrapMain.update(BootstrapMain.java:55) at mon.package.main(BootstrapMain.java:30)

Cela pourrait être lié à quoi ?
Merci :)

Bug de FileDeleter

Bonsoir ! Je suis en train de créer un launcher en suivant ton excellent tutoriel, mais j'ai bien peur d'avoir rencontré un bug de FileDeleter. En effet, il supprime systématiquement mon fichier login.properties, que j'utilise comme Saver, malgré le fait que je l'ai renseigné dans l'ignorelist. D'ailleurs, pour les autres fichiers présents dans cette liste, ils sont bien ignorés par FileDeleter. Est-ce un bug ?

Merci!

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.