Files
magpie/gui_off.go
T
yetone 4bd3f3a4b5 import: magpie://import links add a provider after the user confirms
A vendor or relay can hand out a ready-made provider as a link. The app
registers the magpie scheme (Info.plist on macOS, HKCU on Windows, a
.desktop handler on Linux), a second launch hands the link to the running
one, and the window shows what the link would add, with the hosts the
prompts and key would go to, before anything is saved. `magpie import`
does the same in a terminal.
2026-09-24 12:17:45 +08:00

10 lines
168 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`") }