2022-05-10 13:25:00 +12: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),
|
2022-05-11 14:10:38 +12:00
|
|
|
or "~/Library/Application Support/ntfy/client.yml" for all other users.`
|
2022-05-10 13:25:00 +12:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
scriptLauncher = []string{"sh", "-c"}
|
|
|
|
)
|
|
|
|
|
2024-03-08 09:56:20 +13:00
|
|
|
func defaultClientConfigFile() (string, error) {
|
2022-06-02 08:57:35 +12:00
|
|
|
return defaultClientConfigFileUnix()
|
2022-05-10 13:25:00 +12:00
|
|
|
}
|