sed is bad

This commit is contained in:
OpenSauce04 2024-04-05 11:06:34 +01:00
parent b0efb33585
commit f56f84e1c4

View file

@ -8,7 +8,12 @@
], ],
"command": "lime3ds-launcher", "command": "lime3ds-launcher",
"rename-desktop-file": "lime-qt.desktop", "rename-desktop-file": "lime-qt.desktop",
"rename-mime-file": "lime.xml",
"rename-icon": "lime", "rename-icon": "lime",
"rename-mime-icons": [
"lime"
],
"copy-icon": true,
"build-options": { "build-options": {
"append-path": "/usr/lib/sdk/llvm17/bin", "append-path": "/usr/lib/sdk/llvm17/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm17/lib", "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-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", "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/lime.svg /app/share/icons/hicolor/scalable/apps/lime.svg",
"install -Dm644 ../dist/icon.png /app/share/icons/hicolor/512x512/apps/lime.png", "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"
], ],
"sources": [ "sources": [
{ {