Skip to content

Commit

Permalink
Added Netbird as dependency and renamed linux shortcut name (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon authored May 26, 2022
1 parent 98c764c commit 3e4b779
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ nfpms:
- libayatana-appindicator3-1
- libgtk-3-dev
- libappindicator3-dev
- netbird

- maintainer: Netbird <dev@netbird.io>
description: Netbird client UI.
Expand All @@ -134,6 +135,7 @@ nfpms:
- libayatana-appindicator3-1
- libgtk-3-dev
- libappindicator3-dev
- netbird

- maintainer: Netbird <dev@netbird.io>
description: Netbird client.
Expand Down
7 changes: 6 additions & 1 deletion client/cmd/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"context"
"runtime"

"github.com/kardianos/service"
log "github.com/sirupsen/logrus"
Expand All @@ -23,8 +24,12 @@ func newProgram(ctx context.Context, cancel context.CancelFunc) *program {
}

func newSVCConfig() *service.Config {
name := "netbird"
if runtime.GOOS == "windows" {
name = "Netbird"
}
return &service.Config{
Name: "netbird",
Name: name,
DisplayName: "Netbird",
Description: "A WireGuard-based mesh network that connects your devices into a single private network.",
}
Expand Down
2 changes: 1 addition & 1 deletion client/ui/netbird.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Name=Netbird Agent
Name=Netbird
Exec=/usr/bin/netbird-ui
Icon=netbird
Type=Application
Expand Down

0 comments on commit 3e4b779

Please sign in to comment.