main: Don't start edox on first startup
The edox documentaion is rather dated - time to drop it.
This commit is contained in:
parent
452429832e
commit
5938226ffd
18
src/main.c
18
src/main.c
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
|
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
|
||||||
* Copyright (C) 2004-2021 Kim Woelders
|
* Copyright (C) 2004-2022 Kim Woelders
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to
|
||||||
|
@ -460,21 +460,6 @@ EoptHelp(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
RunDocBrowser(void)
|
|
||||||
{
|
|
||||||
char buf[FILEPATH_LEN_MAX];
|
|
||||||
|
|
||||||
Esnprintf(buf, sizeof(buf), "%s/edox", EDirBin());
|
|
||||||
if (!canexec(buf))
|
|
||||||
return;
|
|
||||||
Esnprintf(buf, sizeof(buf), "%s/E-docs/MAIN", EDirRoot());
|
|
||||||
if (!canread(buf))
|
|
||||||
return;
|
|
||||||
|
|
||||||
Espawn("%s/edox %s/E-docs", EDirBin(), EDirRoot());
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
RunMenuGen(void)
|
RunMenuGen(void)
|
||||||
{
|
{
|
||||||
|
@ -492,7 +477,6 @@ RunInitPrograms(void)
|
||||||
if (Mode.firsttime && Mode.wm.master)
|
if (Mode.firsttime && Mode.wm.master)
|
||||||
{
|
{
|
||||||
RunMenuGen();
|
RunMenuGen();
|
||||||
RunDocBrowser();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue