Documentation
¶
Overview ¶
Package native is the update window of package updater drawn in native UI (package ui) instead of a web page, for apps whose windows all show native UI: it needs no webview, so neither WebKitGTK on Linux nor the WebView2 Runtime on Windows. Use it in place of updater.Plugin:
mygo.Use(native.Plugin) // or native.New(updater.Options{Interval: ..., Icon: ...})
The rest is package updater's: updater.MenuItem and updater.CheckForUpdates check from the app's menu, and the preferences (updater.SetAutomaticChecks, updater.OnChange, …) work the same.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Plugin = New(updater.Options{})
Plugin is the plugin with the default options.
Functions ¶
Types ¶
This section is empty.