ivan wrote: ↑Wed Nov 30, 2022 1:23 pm
I am a relative newbie when it comes to Linux so thank you for the help.
According to the Love2D wiki:
https://love2d.org/wiki/Game_Distributi ... _for_Linux
If you need to change the icon, place your PNG (SuperGame.png for example) or SVG (SuperGame.svg) icon beside love.desktop and modify the Icon=love to Icon=SuperGame. You can remove love.svg.
I followed the above mentioned tutorial before building my AppImage but to no avail!
What is the "proper" way to distribute apps on Linux besides using third party services like the Ubuntu store?
Thanks for pointing that out - I totally forgot about that wiki page! I ran a quick test here, and it worked perfectly - even the icon! See my love.desktop below. I was using a different .love project, but the layout should be the same:
Code: Select all
[Desktop Entry]
Name=Simple Shadows test
Comment=Playing with shadows and AppImage
MimeType=application/x-love-game;
Exec=SimpleShadows %f
Type=Application
Categories=Development;Game;
Terminal=false
Icon=icon
NoDisplay=true
The wiki could be clearer on building the AppImage. Note that the "Icon" entry doesn't want an extension - just the filename (weird). Also, it threw a warning about having more than 1 category listed. It's probably better to just cut that down to "Categories=Game;" instead.
The "proper" ways that I know to distribute an app for Linux are:
1. Trusted software repositories (like the Ubuntu store)
2. Downloadable pre-compiled binaries
3. Downloadable source code
Although maybe I misinterpreted your question?
AppImage should work well for Linux builds, and it is supposed to work across virtually all Linux distros. As long as you can get it to build as expected, that's probably the best way to go.
For fun, I'm attaching my .AppImage result (zipped for forum compatibility). Let me know where you're getting stuck and I'll try to help further.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.