subscribe_darwin.go 435 B

12345678910111213141516
  1. package cmd
  2. const (
  3. scriptExt = "sh"
  4. scriptHeader = "#!/bin/sh\n"
  5. clientCommandDescriptionSuffix = `The default config file for all client commands is /etc/ntfy/client.yml (if root user),
  6. or "~/Library/Application Support/ntfy/client.yml" for all other users.`
  7. )
  8. var (
  9. scriptLauncher = []string{"sh", "-c"}
  10. )
  11. func defaultClientConfigFile() string {
  12. return defaultClientConfigFileUnix()
  13. }