Skip to content

Commit c3bd367

Browse files
Update MerlinAU.asp
1 parent 0b39bce commit c3bd367

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

MerlinAU.asp

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2281,19 +2281,25 @@ function Uninstall()
22812281
document.form.submit();
22822282
}
22832283
2284+
/**---------------------------------------**/
2285+
/** Added by ExtremeFiretop [2025-May-10] **/
2286+
/**---------------------------------------**/
22842287
function UpdateMerlinAUScript ()
22852288
{
22862289
console.log("Initiating MerlinAU script update…");
22872290
2288-
if (!confirm("Are you sure you want to check for MerlinAU script updates?"))
2289-
{ return; }
2290-
22912291
let actionScriptValue;
22922292
let ForceScriptUpdateCheck = document.getElementById('ForceScriptUpdateCheck');
2293+
let ok = confirm(
2294+
ForceScriptUpdateCheck.checked
2295+
? "INSTALL UPDATE: Install MerlinAU script update immediately. Even if current.\n\nContinue?"
2296+
: "VERIFY AND PROMPT: Check for a newer version of MerlinAU and prompt if found. Does NOT install! \n\nContinue?");
2297+
if (!ok) return;
2298+
22932299
if (!ForceScriptUpdateCheck.checked)
22942300
{ actionScriptValue = 'start_MerlinAUupdate'; }
22952301
else
2296-
{ actionScriptValue = 'start_MerlinAUupdate_forceupdate'; }
2302+
{ actionScriptValue = 'start_MerlinAUupdate_forceupdate'; }
22972303
22982304
document.form.action_script.value = actionScriptValue;
22992305
document.form.action_wait.value = 10;

0 commit comments

Comments
 (0)