Fix double .exe-Bug on Windows
This commit is contained in:
@@ -12,7 +12,7 @@ var showSnoreToast = &cobra.Command{
|
|||||||
Short: "Show command to run the Notifier component SnoreToast",
|
Short: "Show command to run the Notifier component SnoreToast",
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return show(cmd, &Options{
|
return show(cmd, &Options{
|
||||||
Identifier: "notifier/portmaster-snoretoast.exe",
|
Identifier: "notifier/portmaster-snoretoast",
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
FParseErrWhitelist: cobra.FParseErrWhitelist{
|
FParseErrWhitelist: cobra.FParseErrWhitelist{
|
||||||
@@ -26,7 +26,7 @@ var runSnoreToast = &cobra.Command{
|
|||||||
Short: "Run the Notifier component SnoreToast",
|
Short: "Run the Notifier component SnoreToast",
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return handleRun(cmd, &Options{
|
return handleRun(cmd, &Options{
|
||||||
Identifier: "notifier/portmaster-snoretoast.exe",
|
Identifier: "notifier/portmaster-snoretoast",
|
||||||
AllowDownload: false,
|
AllowDownload: false,
|
||||||
AllowHidingWindow: true,
|
AllowHidingWindow: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user