[beast: 43/47] EBEAST: adapt to API changes wrg to program_alias_init and fatal_error
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 43/47] EBEAST: adapt to API changes wrg to program_alias_init and fatal_error
- Date: Sat, 2 Sep 2017 00:45:32 +0000 (UTC)
commit 20faa90271e8126c62200fc7a082c08a3970520e
Author: Tim Janik <timj gnu org>
Date: Sun Aug 27 20:54:12 2017 +0200
EBEAST: adapt to API changes wrg to program_alias_init and fatal_error
Signed-off-by: Tim Janik <timj gnu org>
ebeast/v8bse/nodemodule.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ebeast/v8bse/nodemodule.cc b/ebeast/v8bse/nodemodule.cc
index 0656d0e..a560104 100644
--- a/ebeast/v8bse/nodemodule.cc
+++ b/ebeast/v8bse/nodemodule.cc
@@ -214,15 +214,15 @@ v8bse_register_module (v8::Local<v8::Object> exports)
v8::HandleScope scope (isolate);
- // workaround electron concatenating argv[1:] in argv[0]
+ // workaround electron appending argv[1:] to argv[0]
if (Bse::program_alias().find ("electron ") != std::string::npos)
- Bse::program_alias (Bse::Path::cwd()); // a guess at the actual electron application
+ Bse::program_alias_init (Bse::Path::cwd()); // a guess at the actual electron application
// prepare Bse environment
const char *canary = "library/demo/partymonster.bse";
const std::string installpath = Bse::Path::realpath (Bse::Path::abspath ("..")); // ebeast/..
if (!Bse::Path::check (Bse::Path::join (installpath, canary), "r"))
- Bse::fatal ("%s: BSE: failed to locate library containing '%s'", installpath, canary);
+ Bse::fatal_error ("%s: BSE: failed to locate library containing '%s'", installpath, canary);
Bse::installpath_override (installpath);
// start Bse
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]