subscribe_darwin.go 373 B

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