From 32c9657ed90563a7f2988496382818436d5e012e Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Mon, 29 Oct 2018 22:30:21 +0100 Subject: [bug] revert setting of TMPDIR setting TMPDIR attempted to end the noisy error message about using TMP producing non readable messages. however, this produces invisible icons in bionic. See https://0xacab.org/leap/riseup_vpn/issues/44 --- systray.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/systray.go b/systray.go index 996c925..4e4e3d5 100644 --- a/systray.go +++ b/systray.go @@ -48,7 +48,9 @@ type gatewayTray struct { } func run(bm bitmask.Bitmask, conf *systrayConfig, notify *notificator, as autostart) { - os.Setenv("TMPDIR", "/var/tmp") + // XXX this removes the snap error message, but produces an invisible icon. + // https://0xacab.org/leap/riseup_vpn/issues/44 + // os.Setenv("TMPDIR", "/var/tmp") bt := bmTray{bm: bm, conf: conf, notify: notify, autostart: as} systray.Run(bt.onReady, bt.onExit) } -- cgit v1.2.3