From 76d5c2e5ff89075c0f4fddfa92e20c285e3da14e Mon Sep 17 00:00:00 2001 From: lawl Date: Thu, 12 Nov 2020 14:31:11 +0100 Subject: [PATCH] Add patreon button --- ui.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui.go b/ui.go index cc189f6..65e3689 100644 --- a/ui.go +++ b/ui.go @@ -71,6 +71,10 @@ func updatefn(ctx *ntcontext, w *nucular.Window) { ctx.versionScreen = true } } + if w := w.Menu(label.TA("Support NoiseTorch on PATREON", "RC"), 120, nil); w != nil { + exec.Command("xdg-open", "https://patreon.com/lawl").Run() + w.Close() + } w.MenubarEnd() w.Row(15).Dynamic(1)