Updated some things

This commit is contained in:
WolverinDEV 2020-12-05 23:14:37 +01:00
parent 680b31b4cb
commit d0a71ec718
3 changed files with 7 additions and 6 deletions

View File

@ -2,6 +2,7 @@
cd "$(dirname $0)/../" cd "$(dirname $0)/../"
echo "Creating build for channel ${teaclient_deploy_channel}"
project_name="__build_teaclient" project_name="__build_teaclient"
source ../build-helpers/build_helper.sh source ../build-helpers/build_helper.sh

View File

@ -21,11 +21,11 @@ message("Module path: ${CMAKE_MODULE_PATH}")
#Setup NodeJS #Setup NodeJS
function(setup_nodejs) function(setup_nodejs)
set(NodeJS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/cmake/") set(NodeJS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
#set(NODEJS_URL "https://atom.io/download/atom-shell") set(NODEJS_URL "https://atom.io/download/atom-shell")
#set(NODEJS_VERSION "v8.0.0") set(NODEJS_VERSION "v8.0.0")
set(NODEJS_URL "https://nodejs.org/download/release/") #set(NODEJS_URL "https://nodejs.org/download/release/")
set(NODEJS_VERSION "v12.13.0") #set(NODEJS_VERSION "v12.13.0")
find_package(NodeJS REQUIRED) find_package(NodeJS REQUIRED)

View File

@ -70,8 +70,8 @@ tc::audio::AudioOutput* global_audio_output;
Nan::Set(object, (uint32_t) value, Nan::New<v8::String>(key).ToLocalChecked()); Nan::Set(object, (uint32_t) value, Nan::New<v8::String>(key).ToLocalChecked());
NAN_MODULE_INIT(init) { NAN_MODULE_INIT(init) {
//logger::initialize_node(); logger::initialize_node();
logger::initialize_raw(); //logger::initialize_raw();
#ifndef WIN32 #ifndef WIN32
logger::info(category::general, tr("Hello World from C. PPID: {}, PID: {}"), getppid(), getpid()); logger::info(category::general, tr("Hello World from C. PPID: {}, PID: {}"), getppid(), getpid());