Fix GTK launcher to change to correct working directory.
This commit is contained in:
committed by
Chris Forbes
parent
2885fbb99b
commit
6998871adf
@@ -434,7 +434,10 @@ int main(int argc, char ** argv)
|
||||
{
|
||||
GtkWidget * hbox1, * hbox2, * vbox;
|
||||
|
||||
int res = chdir("../share/openra");
|
||||
int res = chdir("/usr/share/openra");
|
||||
|
||||
if (0 != res)
|
||||
res = chdir("/usr/local/share/openra");
|
||||
|
||||
if (0 != res)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user