Giter VIP home page Giter VIP logo

Comments (3)

mxve avatar mxve commented on September 28, 2024 1

Afaik the CDN only serves the latest version of each file. And even if older versions of the files were still available, there wouldn't be a way to get the name of the file.
The file names on the CDN are SHA1 hashes of the files that are obtained from https://cdn.plutonium.pw/updater/prod/info.json, without this hash we aren't able to download the file. There is no (public) archive of versions.

I'm going to implement a small backup system to allow going back to a previously insatlled version

ToDo (subject to change):

  • automatically backup changed files to $installdir/backup/$version/
    • ? pack & compress as archive rather than keeping the loose files
    • keep a max of n versions (probably 3)
  • Manually create/update backup with --backup
  • list backups with --backup-list
  • restore backed up version with --backup-restore
  • disable backups with --no-backup

from plutonium-updater.rs.

mxve avatar mxve commented on September 28, 2024 1

I've implemented the backup feature.
I still have to do a bit more testing before publishing a release, this issue will stay open until then.

from plutonium-updater.rs.

mxve avatar mxve commented on September 28, 2024 1

https://github.com/mxve/plutonium-updater.rs/releases/tag/v0.3.0

from plutonium-updater.rs.

Related Issues (5)

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.