Comments (2)
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.
Superseded by #77
from winsparkle.
Related Issues (20)
- UI bug when moving an error alert between different-DPI displays HOT 5
- Without a DSAPub key win_sparkle_set_registry_path() causes crash on 2nd+ launch HOT 2
- Internet Explorer won't be supported for long HOT 8
- Qt widgets support HOT 4
- Using cached release notes HOT 3
- Question: how to add custom HTTP header in webbrowser?
- Question: WinSparkle deadlock if automatic updates enabled and update manually triggered and installed HOT 5
- vcpkg integration HOT 1
- Question: How to close and relaunch application when installer runs HOT 1
- Add support for `<sparkle:CriticalUpdate>` HOT 4
- Windows App SDK / WinUI3 Gui ? HOT 1
- How should "Remind me later" work? HOT 1
- Support `sparkle:channel` HOT 2
- Release notes webview shown detached from its parent window HOT 9
- Possibility of check but no download? HOT 3
- Installation instructions need updated HOT 3
- Translation Support for WinSparkle HOT 1
- UI didn't show message completely HOT 2
- Using old TLS 1/1.1 HOT 4
- [Question] Silent update does not restart the application HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winsparkle.