Merge pull request #943 from safing/fix/windows-restart-button

Fix restart button on Windows
This commit is contained in:
Daniel Hovie
2022-10-18 14:54:05 +02:00
committed by GitHub

View File

@@ -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{