From 6ac08e1839935045ce53ec8ed276b12541b22c86 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 21 Dec 2025 19:43:22 -0500 Subject: [PATCH] Update samy.js --- samy.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/samy.js b/samy.js index df1d42e..66e70f6 100644 --- a/samy.js +++ b/samy.js @@ -529,10 +529,13 @@ async function triggerInstall() { const svsCB = document.getElementById("installSVSMSPModule"); const renameCB = document.getElementById("renameComputer"); const newNameInput = document.getElementById("txtNewComputerName"); + const onePwCB = document.getElementById("install1Password"); + const disableAnimCB = document.getElementById("disableAnimations"); + // Standard tasks = all tasks except special-case ones const checkedTasks = tasks.filter((t) => { - if (["installDattoRMM", "installSVSMSPModule", "renameComputer"].includes(t.id)) return false; + if (["installDattoRMM", "installSVSMSPModule", "renameComputer", "install1Password", "disableAnimations"].includes(t.id)) return false; const cb = document.getElementById(t.id); return cb && cb.checked; }); @@ -541,6 +544,9 @@ async function triggerInstall() { let specialTasks = 0; if (dattoCB && dattoCB.checked) specialTasks++; if (svsCB && svsCB.checked) specialTasks++; + if (onePwCB && onePwCB.checked) specialTasks++; + if (disableAnimCB && disableAnimCB.checked) specialTasks++; + const extraTasks = (renameCB && renameCB.checked) ? 1 : 0; const total = checkedTasks.length + specialTasks + extraTasks;