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:
parent
e3f81bce49
commit
50154a23cb
7 changed files with 34 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue