feat: architectural improvements for Apps and System Configuration virtual folders in Files

This commit is contained in:
2026-04-30 16:51:08 +02:00
parent b4be0fcc0f
commit f66c9bf1f7
15 changed files with 231 additions and 206 deletions
+3 -3
View File
@@ -89,12 +89,12 @@ void desktop_scan_apps(DesktopState* ds) {
// Load icon from app directory
app->icon = {};
app->icon_path[0] = '\0';
if (icon_file[0]) {
char icon_path[128];
snprintf(icon_path, sizeof(icon_path),
snprintf(app->icon_path, sizeof(app->icon_path),
"0:/apps/%s/%s", dirname, icon_file);
Color defColor = colors::ICON_COLOR;
app->icon = svg_load(icon_path, 20, 20, defColor);
app->icon = svg_load(app->icon_path, 20, 20, defColor);
}
doc.destroy();