Browse Source

Another deb icon fix

[email protected] 15 years ago
parent
commit
df309506e9
4 changed files with 4 additions and 4 deletions
  1. 1 1
      platform/unix/love.desktop
  2. 1 1
      platform/unix/love.xml
  3. 1 1
      platform/unix/make-package
  4. 1 1
      platform/unix/postinst

+ 1 - 1
platform/unix/love.desktop

@@ -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 - 1
platform/unix/love.xml

@@ -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>

+ 1 - 1
platform/unix/make-package

@@ -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 && \

+ 1 - 1
platform/unix/postinst

@@ -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