()
| 22 | } |
| 23 | |
| 24 | func (pm *ProcessModule) Start() error { |
| 25 | identifier := "portmaster" |
| 26 | if runtime.GOOS == "windows" { |
| 27 | identifier += ".exe" |
| 28 | } |
| 29 | |
| 30 | file, err := pm.instance.BinaryUpdates().GetFile(identifier) |
| 31 | if err != nil { |
| 32 | log.Errorf("process: failed to get path of ui: %s", err) |
| 33 | } else { |
| 34 | pm.portmasterUIPath = file.Path() |
| 35 | } |
| 36 | return nil |
| 37 | } |
| 38 | |
| 39 | func (pm *ProcessModule) Stop() error { |
| 40 | return nil |
nothing calls this directly
no test coverage detected