From f56f84e1c4aeb92dc8c768d8a527ba5768adf5f8 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Fri, 5 Apr 2024 11:06:34 +0100 Subject: [PATCH] sed is bad --- io.github.lime3ds.Lime3DS.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/io.github.lime3ds.Lime3DS.json b/io.github.lime3ds.Lime3DS.json index acedfbd..77b0ed7 100644 --- a/io.github.lime3ds.Lime3DS.json +++ b/io.github.lime3ds.Lime3DS.json @@ -8,7 +8,12 @@ ], "command": "lime3ds-launcher", "rename-desktop-file": "lime-qt.desktop", + "rename-mime-file": "lime.xml", "rename-icon": "lime", + "rename-mime-icons": [ + "lime" + ], + "copy-icon": true, "build-options": { "append-path": "/usr/lib/sdk/llvm17/bin", "prepend-ld-library-path": "/usr/lib/sdk/llvm17/lib", @@ -133,9 +138,7 @@ "desktop-file-install --dir=/app/share/applications ../dist/lime-qt.desktop", "desktop-file-edit --set-key StartupWMClass --set-value lime-qt --set-key Exec --set-value lime3ds-launcher /app/share/applications/lime-qt.desktop", "install -Dm644 ../dist/lime.svg /app/share/icons/hicolor/scalable/apps/lime.svg", - "install -Dm644 ../dist/icon.png /app/share/icons/hicolor/512x512/apps/lime.png", - "mv /app/share/mime/packages/lime.xml /app/share/mime/packages/io.github.lime3ds.Lime3DS.xml", - "sed 's/lime/io.github.lime3ds.Lime3DS/g' -i /app/share/mime/packages/io.github.lime3ds.Lime3DS.xml" + "install -Dm644 ../dist/icon.png /app/share/icons/hicolor/512x512/apps/lime.png" ], "sources": [ {