1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-26 21:25:18 +01:00
ntfy/cmd/subscribe_darwin.go

17 lines
444 B
Go
Raw Normal View History

2022-05-10 03:25:00 +02: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 03:25:00 +02:00
)
var (
scriptLauncher = []string{"sh", "-c"}
)
func defaultClientConfigFile() (string, error) {
2022-06-01 22:57:35 +02:00
return defaultClientConfigFileUnix()
2022-05-10 03:25:00 +02:00
}