1
0

Additional test, remove .adds/scripts too

This commit is contained in:
2026-03-21 19:49:11 +01:00
parent 8645a2d626
commit 03d13962d6
2 changed files with 48 additions and 1 deletions

View File

@@ -618,7 +618,6 @@ import JSZip from 'jszip';
}
function goToNickelMenuConfig() {
checkNickelMenuInstalled();
renderFeatureCheckboxes();
const currentOption = $q('input[name="nm-option"]:checked', stepNickelMenu);
nmConfigOptions.hidden = !currentOption || currentOption.value !== 'preset';
@@ -716,6 +715,11 @@ import JSZip from 'jszip';
} catch {
// ignore — folder may already be gone
}
try {
await device.removeEntry(['.adds', 'scripts'], { recursive: true });
} catch {
// ignore — folder may already be gone
}
nmProgress.textContent = 'Creating uninstall marker...';
await device.writeFile(['.adds', 'nm', 'uninstall'], new Uint8Array(0));