From 1038fa83b820bbdaa9bcf37118cf23b0e48a86c5 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 12 Jun 2020 19:05:59 +0200 Subject: [refactor] reorganize modules bitmaskd: so long and thanks for all the fish! Signed-off-by: kali kaneko (leap communications) --- pkg/bitmask/standalone.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/bitmask/standalone.go') diff --git a/pkg/bitmask/standalone.go b/pkg/bitmask/standalone.go index 8ae6f39..92ea542 100644 --- a/pkg/bitmask/standalone.go +++ b/pkg/bitmask/standalone.go @@ -43,8 +43,8 @@ func Init(printer *message.Printer) (Bitmask, error) { return b, err } -// NewAutostart creates a handler for the autostart of your platform -func NewAutostart(appName string, iconPath string) Autostart { +// newAutostart creates a handler for the autostart of your platform +func newAutostart(appName string, iconPath string) Autostart { exec := os.Args if os.Getenv("SNAP") != "" { re := regexp.MustCompile("/snap/([^/]*)/") -- cgit v1.2.3