[feat] add website update button to about dialog

This commit is contained in:
dijunkun
2026-10-19 23:27:12 +08:00
parent 8a7de23c7f
commit 086da155f0
2 changed files with 11 additions and 0 deletions
@@ -1740,6 +1740,7 @@ void GuiApplication::BindMainCallbacks(bool gallery_window) {
OpenUrl(latest && !latest->download_url.empty() ? latest->download_url
: "https://crossdesk.cn");
});
main->on_open_website([this] { OpenUrl("https://crossdesk.cn"); });
main->on_open_afdian_sponsor([this] {
OpenUrl("https://afdian.com/a/kunkundi");
});