diff options
author | Jaakko Keranen <jaakko.keranen@iki.fi> | 2020-11-01 13:34:46 +0200 |
---|---|---|
committer | Jaakko Keranen <jaakko.keranen@iki.fi> | 2020-11-01 13:34:46 +0200 |
commit | f9d41c7cf0f2ab832a1858c640ee703ed062a134 (patch) | |
tree | ed26d85d5ccaead360ebb4ef14cc1b9a380dc104 /src | |
parent | 87ac5f3ec193682372c0143bab81dceacf83701f (diff) |
App: Compiling on "Other" platforms
Testing on OpenBSD.
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |
75 | static const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange"; | 75 | static 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" |
79 | static const char *dataDir_App_ = "~/.config/lagrange"; | 79 | static 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( |