mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-10 13:09:55 +02:00
System/Core/Compositor: Create session home directory if it does not exist
This commit is contained in:
@@ -1034,6 +1034,9 @@ U0 @compositor_init()
|
||||
StrCpy(&Compositor.session.hostname, config->o("default")->@("hostname"));
|
||||
StrCpy(&Compositor.session.user.name, config->o("default")->o("session")->o("user")->@("name"));
|
||||
StrCpy(&Compositor.session.user.fullname, config->o("default")->o("session")->o("user")->@("full_name"));
|
||||
U8 buf[512];
|
||||
StrPrint(buf, "%s%s", config->o("default")->o("filesystem")->@("root"), &Compositor.session.home);
|
||||
FileSystem.CreatePath(buf);
|
||||
@compositor_set_theme("Umami");
|
||||
@compositor_set_pointer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user