summaryrefslogtreecommitdiff
path: root/pkg/bitmask/autostart_win.go
blob: 444c5f4c82e522f1fbfbd19e2d4b31292a8ffbe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// +build windows

package bitmask

// Workaround for broken autostart package on windows.

type DummyAutostart struct{}

func (a *DummyAutostart) Disable() error {
	return nil
}

func (a *DummyAutostart) Enable() error {
	return nil
}

type Autostart interface {
	Disable() error
	Enable() error
}

func NewAutostart(appName string, iconPath string) Autostart {
	return &DummyAutostart{}
}