refactor(forge): employ desktopTemplate to support absolute paths (#4084)

Signed-off-by: Jason Cochard <cochard@protonmail.com>
This commit is contained in:
Jason Cochard 2025-09-22 10:31:22 -07:00 committed by GitHub
parent 0ee17665a3
commit 44f574c4bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 1 deletions

View file

@ -70,7 +70,7 @@ module.exports = {
maintainer: 'Block, Inc.',
homepage: 'https://block.github.io/goose/',
categories: ['Development'],
mimeType: ['x-scheme-handler/goose'],
desktopTemplate: './forge.deb.desktop',
options: {
icon: 'src/images/icon.png'
}
@ -84,6 +84,7 @@ module.exports = {
maintainer: 'Block, Inc.',
homepage: 'https://block.github.io/goose/',
categories: ['Development'],
desktopTemplate: './forge.rpm.desktop',
options: {
icon: 'src/images/icon.png'
}

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Goose
Exec=/usr/lib/goose/Goose %U
Icon=/usr/share/pixmaps/goose.png
Terminal=false
Type=Application
Categories=Development;
MimeType=x-scheme-handler/goose;

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Goose
Exec=/usr/lib/Goose/Goose %U
Icon=/usr/share/pixmaps/Goose.png
Terminal=false
Type=Application
Categories=Development;
MimeType=x-scheme-handler/goose;