MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / getTypeIcon

Function getTypeIcon

web/scripts/ragnar_modern.js:14130–14143  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

14128 addConsoleMessage(`Pwnagotchi ${verb.toLowerCase()} started`, 'success');
14129 if (result && result.status) {
14130 updatePwnagotchiUI(result.status);
14131 } else {
14132 refreshPwnagotchiStatus({ silent: true });
14133 }
14134 } catch (error) {
14135 console.error(`Failed to start Pwnagotchi ${verb.toLowerCase()}:`, error);
14136 addConsoleMessage(`${verb} failed: ${error.message}`, 'error');
14137 stopPwnLogStreaming();
14138 setPwnLogEmptyMessage('Installer failed to start. Check Ragnar logs for details.');
14139 } finally {
14140 updatePwnButtons();
14141 }
14142}
14143
14144function handlePwnInstallClick() {
14145 return runPwnInstaller('install');
14146}

Callers 1

displayNetkbDataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected