Additional test, remove .adds/scripts too
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user