summaryrefslogtreecommitdiff
path: root/pkg/bitmask/autostart.go
diff options
context:
space:
mode:
authorkali <kali@win>2020-09-25 16:49:46 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-25 20:42:50 +0200
commit5518645dfdfd1250dcabd98bda5d71d18eb4edcc (patch)
treed0ca2b3090aec17d43edb63a4383c63388ee2c27 /pkg/bitmask/autostart.go
parent2ecd10efa37c6ccd04c43e663f88c4a6910b2a4b (diff)
[pkg] windows helper and qtinstaller
Diffstat (limited to 'pkg/bitmask/autostart.go')
-rw-r--r--pkg/bitmask/autostart.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/bitmask/autostart.go b/pkg/bitmask/autostart.go
index f314dbc..f8f0f19 100644
--- a/pkg/bitmask/autostart.go
+++ b/pkg/bitmask/autostart.go
@@ -1,3 +1,5 @@
+// +build !windows
+
// Copyright (C) 2018 LEAP
//
// This program is free software: you can redistribute it and/or modify
@@ -35,7 +37,7 @@ type Autostart interface {
Enable() error
}
-// newAutostart creates a handler for the autostart of your platform
+// NewAutostart creates a handler for the autostart of your platform
func NewAutostart(appName string, iconPath string) Autostart {
exec := os.Args
if os.Getenv("SNAP") != "" {