1
0

Ensure ignore block is only written w/ features selected
All checks were successful
Build and test project / build-and-test (push) Successful in 2m2s

This commit is contained in:
2026-03-21 21:11:43 +01:00
parent d946602881
commit 36014eb349

View File

@@ -113,10 +113,12 @@ export class NickelMenuInstaller {
const tgz = await this.getKoboRootTgz();
await device.writeFile(['.kobo', 'KoboRoot.tgz'], tgz);
progressFn('Updating Kobo eReader.conf...');
await this.updateEReaderConf(device);
if (features.length > 0) {
// Features require the ignore block in the config, write it first
progressFn('Updating Kobo eReader.conf...');
await this.updateEReaderConf(device);
// After that, collect all practical files that need to be copied
const files = await this.collectFiles(features, progressFn);
progressFn('Writing files to Kobo...');