blob: e2c686a8d4becee812fafac6b28b6cab2e6c7386 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- load_lists.c
+++ load_lists.c
@@ -50,7 +50,7 @@
}
}
- g_string_assign (info->conf_file, "gamepick.conf");
+ g_string_assign (info->conf_file, "CONFDIR/gamepick.conf");
if (file_readable (info->conf_file->str))
return NULL;
--- gamepick.h
+++ gamepick.h
@@ -6,9 +6,9 @@
/* configure these to your own systems */
/* or overide them with -c <conf file> */
-static const gchar default_cmd_dir[] = ".";
-static const gchar default_icon_dir[] = ".";
-static const gchar default_stage2[] = "./gamepick-stage2";
+static const gchar default_cmd_dir[] = "GAMES_BINDIR";
+static const gchar default_icon_dir[] = "GAMES_DATADIR";
+static const gchar default_stage2[] = "GAMES_BINDIR/gamepick-stage2";
enum browse_targets {bt_cmd, bt_icon};
|