F1: the uninstaller keeps the Jump List of com.tyrveil.lutra

The template's DeleteAppUserModelId cleared the Jump List of the app id
every Lutra install shares, so removing a test or second install wiped the
list of the one in use. Marked with a Lutra: comment; a desktop test fails
if the call comes back. Also rustfmt of the settings test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-11-02 19:07:25 +01:00
parent f4dbc9188e
commit 1b6bd1f870
3 changed files with 21 additions and 2 deletions

View file

@ -408,4 +408,14 @@ mod tests {
.collect();
assert_eq!(mac_exts, windows_exts);
}
#[test]
fn the_uninstaller_keeps_the_jump_list_every_install_shares() {
let calls: Vec<&str> = include_str!("../installer/installer.nsi")
.lines()
.map(str::trim)
.filter(|line| line.starts_with("!insertmacro DeleteAppUserModelId"))
.collect();
assert_eq!(calls, Vec::<&str>::new());
}
}