#!/usr/bin/env node const os = require('os'); /* const process = require('process'); const cores = os.cpus().length < 4 ? 4 : os.cpus().length; process.env.UV_THREADPOOL_SIZE = cores; console.debug(`P3X sets UV_THREADPOOL_SIZE to ${cores} thread pool`) */ const lib = require('./src/lib'); const settings = lib.getSettings(); if (settings === false) { return; } const boot = require('./src/dbus/boot'); boot(settings); const notifier = require('./src/notifier'); notifier(settings);