diff --git a/v3/internal/commands/build_assets/Taskfile.linux.yml b/v3/internal/commands/build_assets/Taskfile.linux.yml index 2b2a46a81e6..eb08fbdacb0 100644 --- a/v3/internal/commands/build_assets/Taskfile.linux.yml +++ b/v3/internal/commands/build_assets/Taskfile.linux.yml @@ -58,6 +58,7 @@ tasks: vars: PRODUCTION: "true" cmds: + - task: generate:dotdesktop - task: generate:deb create:rpm: @@ -67,6 +68,7 @@ tasks: vars: PRODUCTION: "true" cmds: + - task: generate:dotdesktop - task: generate:rpm create:aur: @@ -76,6 +78,7 @@ tasks: vars: PRODUCTION: "true" cmds: + - task: generate:dotdesktop - task: generate:aur generate:deb: diff --git a/v3/internal/commands/updatable_build_assets/nfpm/nfpm.yaml.tmpl b/v3/internal/commands/updatable_build_assets/nfpm/nfpm.yaml.tmpl index 4c37eb6774e..6900d00a7c4 100644 --- a/v3/internal/commands/updatable_build_assets/nfpm/nfpm.yaml.tmpl +++ b/v3/internal/commands/updatable_build_assets/nfpm/nfpm.yaml.tmpl @@ -21,14 +21,20 @@ contents: dst: "/usr/local/bin/{{.BinaryName}}" - src: "./build/appicon.png" dst: "/usr/share/icons/hicolor/128x128/apps/{{.BinaryName}}.png" + - src: "./build/{{.BinaryName}}.desktop" + dst: "/usr/share/applications/{{.BinaryName}}.desktop" + +depends: + - gtk3 + - libwebkit2gtk # replaces: # - foobar # provides: # - bar # depends: -# - foo -# - bar +# - gtk3 +# - libwebkit2gtk # recommends: # - whatever # suggests: