editors/microsoft-edit: Fix desktop file
- Correct Exec and Icon fields - Use desktop-file-utils to properly add desktop entry PR: 287718 Reported by: ykla <yklaxds@gmail.com>
This commit is contained in:
parent
56acc75c66
commit
e271da020a
@ -1,6 +1,7 @@
|
|||||||
PORTNAME= microsoft-edit
|
PORTNAME= microsoft-edit
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 1.2.0
|
DISTVERSION= 1.2.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= editors
|
CATEGORIES= editors
|
||||||
|
|
||||||
MAINTAINER= nobutaka@FreeBSD.org
|
MAINTAINER= nobutaka@FreeBSD.org
|
||||||
@ -10,7 +11,7 @@ WWW= https://github.com/microsoft/edit
|
|||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
USES= cargo
|
USES= cargo desktop-file-utils
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= microsoft
|
GH_ACCOUNT= microsoft
|
||||||
GH_PROJECT= edit
|
GH_PROJECT= edit
|
||||||
|
|||||||
@ -0,0 +1,13 @@
|
|||||||
|
--- assets/com.microsoft.edit.desktop.orig 2025-06-11 21:26:27 UTC
|
||||||
|
+++ assets/com.microsoft.edit.desktop
|
||||||
|
@@ -3,8 +3,8 @@ Comment=A simple editor for simple needs
|
||||||
|
Name=Microsoft Edit
|
||||||
|
GenericName=Text Editor
|
||||||
|
Comment=A simple editor for simple needs
|
||||||
|
-Icon=edit
|
||||||
|
-Exec=edit %U
|
||||||
|
+Icon=msedit
|
||||||
|
+Exec=msedit %U
|
||||||
|
Terminal=true
|
||||||
|
MimeType=text/plain
|
||||||
|
Keywords=text;editor
|
||||||
Loading…
x
Reference in New Issue
Block a user