oWizard->GetParameter('use-symbolic-links', MFCompiler::UseSymbolicLinks()) ? ' checked ' : ''; $oPage->add('
'); } } final protected function AddForceUninstallFlagOption(WebPage $oPage): void { $sChecked = $this->oWizard->GetParameter('force-uninstall', false) ? ' checked ' : ''; $oPage->add(''); $oPage->add_ready_script( <<<'JS' $("#force-uninstall").on("click", function() { let $this = $(this); let bForceUninstall = $this.prop("checked"); if( bForceUninstall && !confirm('Beware, uninstalling extensions flagged as non uninstallable may result in data corruption and application crashes. Are you sure you want to continue ?')){ $this.prop("checked",false); } }); JS ); } }