mirror of
https://github.com/safing/portmaster
synced 2025-04-25 13:29:10 +00:00
Fix restart button on Windows
This commit is contained in:
parent
bea602bc3d
commit
e70f720bd5
1 changed files with 2 additions and 0 deletions
|
@ -22,11 +22,13 @@ var (
|
|||
Short: "Run the Portmaster Core as a Windows Service",
|
||||
RunE: runAndLogControlError(func(cmd *cobra.Command, args []string) error {
|
||||
return runService(cmd, &Options{
|
||||
Name: "Portmaster Core Service",
|
||||
Identifier: "core/portmaster-core",
|
||||
ShortIdentifier: "core",
|
||||
AllowDownload: true,
|
||||
AllowHidingWindow: false,
|
||||
NoOutput: true,
|
||||
RestartOnFail: true,
|
||||
}, args)
|
||||
}),
|
||||
FParseErrWhitelist: cobra.FParseErrWhitelist{
|
||||
|
|
Loading…
Add table
Reference in a new issue