diff options
| author | Dan Engelbrecht <[email protected]> | 2025-01-10 15:52:34 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2025-01-10 15:52:34 +0100 |
| commit | 7a73a49de6ddbc6712554c5c9b2863dd8e7de0f2 (patch) | |
| tree | b317ca99590a087724717e191ee3e2bc05801f75 /src/zenutil/service.cpp | |
| parent | cleanups (diff) | |
| download | zen-7a73a49de6ddbc6712554c5c9b2863dd8e7de0f2.tar.xz zen-7a73a49de6ddbc6712554c5c9b2863dd8e7de0f2.zip | |
displayname and description are windows-only properties
Diffstat (limited to 'src/zenutil/service.cpp')
| -rw-r--r-- | src/zenutil/service.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/zenutil/service.cpp b/src/zenutil/service.cpp index 08ccac512..f85a8e7e3 100644 --- a/src/zenutil/service.cpp +++ b/src/zenutil/service.cpp @@ -188,11 +188,8 @@ namespace { const std::filesystem::path& ExecutablePath, std::string_view CommandLineOptions, std::string_view DaemonName, - std::string_view ServiceDisplayName, - std::string_view ServiceDescription, bool Debug) { - ZEN_UNUSED(ServiceDisplayName, ServiceDescription); std::vector<std::string_view> Arguments = SplitArguments(CommandLineOptions); ExtendableStringBuilder<256> ProgramArguments; for (const std::string_view Argument : Arguments) @@ -699,7 +696,7 @@ InstallService(std::string_view ServiceName, const ServiceSpec& Spec) { const std::string DaemonName = GetDaemonName(ServiceName); std::string PList = - BuildPlist(ServiceName, Spec.ExecutablePath, Spec.CommandLineOptions, DaemonName, Spec.DisplayName, Spec.Description, true); + BuildPlist(ServiceName, Spec.ExecutablePath, Spec.CommandLineOptions, DaemonName, true); const std::filesystem::path PListPath = GetPListPath(DaemonName); ZEN_INFO("Writing launchd plist to {}", PListPath.string()); |