ntfy/cmd/subscribe_darwin.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
435 B
Go
Raw Normal View History

2022-05-10 01:25:00 +00:00
package cmd
const (
scriptExt = "sh"
scriptHeader = "#!/bin/sh\n"
clientCommandDescriptionSuffix = `The default config file for all client commands is /etc/ntfy/client.yml (if root user),
or "~/Library/Application Support/ntfy/client.yml" for all other users.`
2022-05-10 01:25:00 +00:00
)
var (
scriptLauncher = []string{"sh", "-c"}
)
2022-06-01 20:57:35 +00:00
func defaultClientConfigFile() string {
return defaultClientConfigFileUnix()
2022-05-10 01:25:00 +00:00
}