Open jonkas2211 opened 2 years ago
I have the problem, that the glob will always return an empty array of string.
nw-model-miner.mjs const pakFilePaths = await globby(assetsPath + '/**/*.pak');
const pakFilePaths = await globby(assetsPath + '/**/*.pak');
Does replacing it with the following work for you?
const pakFilePaths = (await globby('**/*.pak', {cwd: assetsPath})) .map(path => `${assetsPath}/${path}`);
Sorry for the late reply.
I have the problem, that the glob will always return an empty array of string.
nw-model-miner.mjs
const pakFilePaths = await globby(assetsPath + '/**/*.pak');