-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add multi-resolution icons to AppImage #181
Conversation
Include it please. Let's keep things simple.
Are you saying this PR doesn't work yet? Please make a working implementation before PRing if you can. |
@peppy Done. should be ready I hope. I was just afraid of touching the C# but I just followed https://learn.microsoft.com/en-us/dotnet/standard/io/how-to-copy-directories so now it should copy over everything |
Going to need someone with a linux setup to test this at the end of the day. |
It doesn't change much, honestly. It just adds extra files inside the AppImage, which can be utilized by anyone who needs them (such as tools that integrate app images), but otherwise, it makes zero difference for the average user. AppImages are just portable executables, so technically, they don't need this, but it's convenient to have every piece of information needed inside them for those who really want to 'install' them. That's also how I've seen the major app images in the Linux ecosystem do it. |
You implied that this change will fix AppImageLauncher at least, so we'd want to test that that is the case. |
Yeah I don't think this works, entirely. Testing with this appimagelauncher thing shows some change. Output changes from
to
The first one says "failed" but it doesn't seem to have failed since the app did make it to the launcher both times. However, both times... An icon was promised, and an icon does not appear to have been delivered. And, for reference: |
Yeah no I can't get this to work. There appear to maybe be at least 2 issues here:
I've fixed both and it still doesn't work, so I give up. I don't want to spend a second more on this stupid garbage. In typical linux fashion nothing works. Why do I bother with this OS. |
It appears to be an issue with the handling of if you did try renaming them, icon changes aren't always instant so you may need to run I agree Linux is a mess, it's just not a full operating system in itself and so there's constantly differing community solutions and standards instead of a single central standard which makes it a bit annoying to some devs but oh well. |
I've updated the icons to simply |
Let's just get this in since it's doing no harm. |
fixes #158
Opening this as a draft to get some feedback.
usr
directory to include the additional files, like the icons atusr/share/icons/hicolor/xx/apps/osu!.png
osu!.png
in the appdir into the 1024x1024 directoryusr
directory could also be used to include any additional files in the future, such as mime type definitions.A root icon is still needed though, but 1024x1024 is kinda too big, so perhaps copy over the 256x256 version in the root of the AppDir which is the typical recommended size, and the desktop can pickup the higher versions if needed.
TODO
LinuxBuilder.cs
where files in the appdir are copied into the staging directory, there's a loop to copy all files but that probably does not handle directories if I'm right, so we'd need a recursive copy option now.