Ide: while installing on POSIX thorugh TheIDE install icon with the highest possible resolution (256x256).

This commit is contained in:
klugier 2025-12-13 18:37:49 +01:00
parent ab09d98ff4
commit ad8a94a130

View file

@ -63,7 +63,6 @@ void Ide::UpgradeTheIDE()
}
}
LoadFromString(release, tmbak);
targetmode = tbak;
}
@ -74,7 +73,7 @@ void Ide::InstallDesktop()
if(PromptYesNo("Write theide.desktop to&[* \1" + apps + "\1]?&"
"That should make theide available through desktop menu.")) {
String icon = ConfigFile("theide.png");
PNGEncoder().SaveFile(icon, IdeImg::PackageLarge());
PNGEncoder().SaveFile(icon, IdeImg::Icon256());
String path = apps + "/theide.desktop";
RealizePath(path);
Upp::SaveFile(path,