14 lines
278 B
Go
14 lines
278 B
Go
//go:build nogui
|
|
|
|
package main
|
|
|
|
import "errors"
|
|
|
|
const hasGUI = false
|
|
|
|
func runGUI(bool, string) error { return errors.New("this build has no GUI; run `magpie tui`") }
|
|
|
|
func runPanel() error { return runGUI(false, "") }
|
|
|
|
func runWindow(string) error { return runGUI(true, "") }
|