Fix double .exe-Bug on Windows

This commit is contained in:
Raskaro 2019-08-02 10:55:48 +02:00
parent d2f81e370c
commit b5813b229e

View file

@ -12,7 +12,7 @@ var showSnoreToast = &cobra.Command{
Short: "Show command to run the Notifier component SnoreToast",
RunE: func(cmd *cobra.Command, args []string) error {
return show(cmd, &Options{
Identifier: "notifier/portmaster-snoretoast.exe",
Identifier: "notifier/portmaster-snoretoast",
})
},
FParseErrWhitelist: cobra.FParseErrWhitelist{
@ -26,7 +26,7 @@ var runSnoreToast = &cobra.Command{
Short: "Run the Notifier component SnoreToast",
RunE: func(cmd *cobra.Command, args []string) error {
return handleRun(cmd, &Options{
Identifier: "notifier/portmaster-snoretoast.exe",
Identifier: "notifier/portmaster-snoretoast",
AllowDownload: false,
AllowHidingWindow: true,
})