Added Netbird as dependency and renamed linux shortcut name (#330)

This commit is contained in:
Maycon Santos 2022-05-26 15:29:55 +02:00 committed by GitHub
parent 98c764c095
commit 3e4b779d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

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

View File

@ -2,6 +2,7 @@ package cmd
import (
"context"
"runtime"
"github.com/kardianos/service"
log "github.com/sirupsen/logrus"
@ -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.",
}

View File

@ -1,5 +1,5 @@
[Desktop Entry]
Name=Netbird Agent
Name=Netbird
Exec=/usr/bin/netbird-ui
Icon=netbird
Type=Application