summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index 311a88bb..a6632811 100644
--- a/src/app.c
+++ b/src/app.c
@@ -74,7 +74,7 @@ static const char *dataDir_App_ = "~/Library/Application Support/fi.skyjake.Lagr
74#define EMB_BIN "../resources.binary" 74#define EMB_BIN "../resources.binary"
75static const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange"; 75static const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange";
76#endif 76#endif
77#if defined (iPlatformLinux) 77#if defined (iPlatformLinux) || defined (iPlatformOther)
78#define EMB_BIN "../../share/lagrange/resources.binary" 78#define EMB_BIN "../../share/lagrange/resources.binary"
79static const char *dataDir_App_ = "~/.config/lagrange"; 79static const char *dataDir_App_ = "~/.config/lagrange";
80#endif 80#endif
@@ -1221,7 +1221,7 @@ void openInDefaultBrowser_App(const iString *url) {
1221 setArguments_Process(proc, 1221 setArguments_Process(proc,
1222#if defined (iPlatformApple) 1222#if defined (iPlatformApple)
1223 iClob(newStringsCStr_StringList("/usr/bin/open", cstr_String(url), NULL)) 1223 iClob(newStringsCStr_StringList("/usr/bin/open", cstr_String(url), NULL))
1224#elif defined (iPlatformLinux) 1224#elif defined (iPlatformLinux) || defined (iPlatformOther)
1225 iClob(newStringsCStr_StringList("/usr/bin/x-www-browser", cstr_String(url), NULL)) 1225 iClob(newStringsCStr_StringList("/usr/bin/x-www-browser", cstr_String(url), NULL))
1226#elif defined (iPlatformMsys) 1226#elif defined (iPlatformMsys)
1227 iClob(newStringsCStr_StringList( 1227 iClob(newStringsCStr_StringList(