From ddf433b694b7f664c78d31fd5de444871feb4428 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 7 Dec 2017 22:26:54 +0100 Subject: [PATCH] [XDG] Move file location, fix typos, names, description --- README.md | 1 + share/oshu!.desktop | 11 +++++++++++ share/x-osu.xml | 11 +++++++++++ 3 files changed, 23 insertions(+) create mode 100644 share/oshu!.desktop create mode 100644 share/x-osu.xml diff --git a/README.md b/README.md index b652da6..1ae97f9 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ BEATMAP.osu`. Otherwise you may use the default `/usr/local`. If you want to have oshu integrated in your desktop: + $ cd share $ desktop-file-install --dir $PREFIX/share/applications oshu.desktop $ xdg-mime install x-osu.xml $ xdg-mime default oshu.desktop text/x-osu diff --git a/share/oshu!.desktop b/share/oshu!.desktop new file mode 100644 index 0000000..019276b --- /dev/null +++ b/share/oshu!.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=oshu! +GenericName=Rhythm Game +GenericName[fr]=Jeu de Rythme +Comment=Fast osu! port +Comment[fr]=Adaptation rapide de osu! +Exec=oshu %F +MimeType=text/x-osu +Terminal=true +Categories=Game;X-Music;X-Rhythm diff --git a/share/x-osu.xml b/share/x-osu.xml new file mode 100644 index 0000000..83c4f02 --- /dev/null +++ b/share/x-osu.xml @@ -0,0 +1,11 @@ + + + + osu! beatmap file + Fichier de beatmap osu! + + + + + +