mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Another deb icon fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=LÖVE
|
||||
Comment=The unquestionably awesome 2D game engine
|
||||
MimeType=application/x-vnd.love-game;
|
||||
MimeType=application/x-love-game;
|
||||
Exec=/usr/bin/love
|
||||
Type=Application
|
||||
Categories=Development;Game;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-vnd.love-game">
|
||||
<mime-type type="application/x-love-game">
|
||||
<comment>LÖVE game</comment>
|
||||
<glob pattern="*.love"/>
|
||||
</mime-type>
|
||||
|
||||
@@ -42,7 +42,7 @@ case "$1" in
|
||||
mkdir deb/usr/share/icons/gnome/scalable/apps
|
||||
cp app.svg deb/usr/share/icons/gnome/scalable/apps/love.svg
|
||||
mkdir deb/usr/share/icons/gnome/scalable/mimetypes
|
||||
cp game.svg deb/usr/share/icons/gnome/scalable/mimetypes/gnome-mime-application-love-game.svg
|
||||
cp game.svg deb/usr/share/icons/gnome/scalable/mimetypes/gnome-mime-application-x-love-game.svg
|
||||
mkdir deb/usr/share/applications
|
||||
cp love.desktop deb/usr/share/applications
|
||||
dpkg -b deb love-$2.deb && \
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
update-mime-database /usr/share/mime
|
||||
gtk-update-icon-cache --force /usr/share/icons/gnome
|
||||
xdg-mime default love.desktop application/x-vnd.love-game
|
||||
xdg-mime default love.desktop application/x-love-game
|
||||
|
||||
Reference in New Issue
Block a user