if (!semver.satisfies(process.version, ">=10.5.0")) {
console.error("Trilium only supports node.js 10.5 and later");
@ -95,6 +95,10 @@ async function startTrilium() {
const cpuInfos = require('os').cpus();
log.info(`CPU model: ${cpuInfos[0].model}, logical cores: ${cpuInfos.length} freq: ${cpuInfos[0].speed} Mhz`); // for perf. issues it's good to know the rough configuration
if (!utils.isElectron()) {
beccaLoader.loadInitially();
}
/**
* Listen on provided port, on all network interfaces.