Updated some things
This commit is contained in:
parent
680b31b4cb
commit
d0a71ec718
@ -2,6 +2,7 @@
|
||||
|
||||
cd "$(dirname $0)/../"
|
||||
|
||||
echo "Creating build for channel ${teaclient_deploy_channel}"
|
||||
project_name="__build_teaclient"
|
||||
source ../build-helpers/build_helper.sh
|
||||
|
||||
|
@ -21,11 +21,11 @@ message("Module path: ${CMAKE_MODULE_PATH}")
|
||||
#Setup NodeJS
|
||||
function(setup_nodejs)
|
||||
set(NodeJS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
|
||||
#set(NODEJS_URL "https://atom.io/download/atom-shell")
|
||||
#set(NODEJS_VERSION "v8.0.0")
|
||||
set(NODEJS_URL "https://atom.io/download/atom-shell")
|
||||
set(NODEJS_VERSION "v8.0.0")
|
||||
|
||||
set(NODEJS_URL "https://nodejs.org/download/release/")
|
||||
set(NODEJS_VERSION "v12.13.0")
|
||||
#set(NODEJS_URL "https://nodejs.org/download/release/")
|
||||
#set(NODEJS_VERSION "v12.13.0")
|
||||
|
||||
find_package(NodeJS REQUIRED)
|
||||
|
||||
|
@ -70,8 +70,8 @@ tc::audio::AudioOutput* global_audio_output;
|
||||
Nan::Set(object, (uint32_t) value, Nan::New<v8::String>(key).ToLocalChecked());
|
||||
|
||||
NAN_MODULE_INIT(init) {
|
||||
//logger::initialize_node();
|
||||
logger::initialize_raw();
|
||||
logger::initialize_node();
|
||||
//logger::initialize_raw();
|
||||
|
||||
#ifndef WIN32
|
||||
logger::info(category::general, tr("Hello World from C. PPID: {}, PID: {}"), getppid(), getpid());
|
||||
|
Loading…
Reference in New Issue
Block a user