Coder Social home page Coder Social logo

Comments (2)

vslavik avatar vslavik commented on August 23, 2024

How would you suggest I begin?

Not filing issues for what aren’t issues but open-ended questions would be nice ;-) (It’s not like my contact info is secret…)

More to the point, I’m not even sure what you’re asking for:

An entry point function called win_sparkle_check_and_install_with_ui()

Well, obviously you’ll have to have a new public function, no? Notice though that the _with_ui suffix means “with UI being shown immediately” (see the docs), so probably not what you want. Unless I misunderstand your goal.

An UpdateChecker subclass which calls a new static method on UI, such as UI::InstallUpdate().

Clearly you’ll need to do some code changes to implement it too, so it’s not either-or, but I can’t tell you off-hand what they’ll need to be, in part because it’s not entirely clear what the exact behavior you want is and how it differs from win_sparkle_check_update_without_ui() — or for that matter from unconditionally calling win_sparkle_set_automatic_check_for_updates(1). It’s as always: read the code, understand what needs to be changed, change it. FWIW, if your intention is to change UI flow, UpdateChecker isn’t really related to that, but yes, you’d probably need to add some indicator methods to it (such as bool InstallAutomatically()? — again, not entirely clear what you want in the first place) that the UI code in UI class uses to adjust its behavior.

Perhaps you should just start and make a work-in-progress PR when you need more specific review/advice?

from winsparkle.

statico avatar statico commented on August 23, 2024

Superseded by #77

from winsparkle.

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.