Улучшение подхвата изменений inpx-файла

This commit is contained in:
Book Pauk
2022-10-20 18:03:47 +07:00
parent 11a6c06997
commit ba3d6adac6
2 changed files with 29 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ async function init() {
}
}
} else {
config.inpxFile = `${config.tempDir}/${utils.randomHexString(20)}`;
config.inpxFile = `${config.dataDir}/remote.inpx`;
const RemoteLib = require('./core/RemoteLib');//singleton
const remoteLib = new RemoteLib(config);
await remoteLib.downloadInpxFile();