Giter Club home page Giter Club logo

Comments (2)

DrewNaylor avatar DrewNaylor commented on August 17, 2024

Also, allow the user to choose whether they want to download the current version of the text document, or the previous version. This will cause the XML document above to be updated like so:

<HideSettingsPages_Page_List_Updater>
    <newestPageListUpdate>
        <info>Newest page list update.</info>
        <lastUpdated>(last updated date in UTC)</lastUpdated>
        <currentVersion>(current page list version, used to tell the user if there's an update; something like:) 1.0.0.1</currentVersion>
        <updateUrl>(url of the text document; something like:) https://github.com/DrewNaylor/HideSettingsPages/blob/master/HideSettingsPages/page-list-updates/current-page-list.txt</updateUrl>
        <sha256Hash>(SHA256 checksum of text file to ensure there's no tampering by comparing this text to the SHA256 checksum of the page list text document)</sha256Hash>
    </newestPageListUpdate>
    <previousPageListUpdate>
        <info>Previous page list update.</info>
        <lastUpdated>(last updated date in UTC)</lastUpdated>
        <currentVersion>(current page list version, used to tell the user if there's an update; something like:) 1.0.0.0</currentVersion>
        <updateUrl>(url of the text document; something like:) https://github.com/DrewNaylor/HideSettingsPages/blob/master/HideSettingsPages/page-list-updates/previous-version/current-page-list.txt</updateUrl>
        <sha256Hash>(SHA256 checksum of text file to ensure there's no tampering by comparing this text to the SHA256 checksum of the page list text document)</sha256Hash>
    </previousPageListUpdate>
</HideSettingsPages_Page_List_Updater>

Additionally, when this feature initially becomes available, the newest and previous updates will be the same version. Only when the newest update file changes will the two update choices differ.

from hidesettingspages.

DrewNaylor avatar DrewNaylor commented on August 17, 2024

As of a41674a, it's possible to put a text file named pagelist.txt next to HideSettingsPages.exe and have the app load the page list from the text file instead of the built-in list on startup.

There's progress being made toward getting this feature completed, which is always nice. I'm not sure how long it'll take until there's the ability to automatically update the page list text file, but for now, this'll have to do. Until then, the page list will be in HideSettingsPages\HideSettingsPages\Resources\pagesList_TXT.txt.

from hidesettingspages.

Related Issues (20)

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.