File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -2281,19 +2281,25 @@ function Uninstall()
22812281 document .form .submit ();
22822282}
22832283
2284+ /* *---------------------------------------**/
2285+ /* * Added by ExtremeFiretop [2025-May-10] **/
2286+ /* *---------------------------------------**/
22842287function 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\n Continue?"
2296+ : " VERIFY AND PROMPT: Check for a newer version of MerlinAU and prompt if found. Does NOT install! \n\n Continue?" );
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 ;
You can’t perform that action at this time.
0 commit comments