blob: 51ac0cd4df61d6b863790e66cead770cb339c0dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// +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{}
}
|