1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:07:45 +00:00

most apps now begin in the correct directory

This commit is contained in:
Christopher Dumas 2019-05-25 16:58:22 -07:00 committed by Andreas Kling
parent e3f81bce49
commit 50154a23cb
7 changed files with 34 additions and 14 deletions

View file

@ -10,6 +10,7 @@
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <LibCore/CUserInfo.h>
static GWindow* make_launcher_window();
@ -23,6 +24,7 @@ void handle_sigchld(int)
int main(int argc, char** argv)
{
chdir(get_current_user_home_path());
GApplication app(argc, argv);
signal(SIGCHLD, handle_sigchld);