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

Function showFileConfirmModal

web/scripts/ragnar_modern.js:13619–13639  ·  view source on GitHub ↗
(title, content, onConfirm)

Source from the content-addressed store, hash-verified

13617 if (!result.installing) {
13618 schedulePwnLogStop();
13619 }
13620
13621 } catch (error) {
13622 console.error('Error fetching Pwnagotchi logs:', error);
13623 if (!options.silent) {
13624 setPwnLogEmptyMessage(`Failed to load installer log (${error.message})`);
13625 }
13626 } finally {
13627 pwnLogFetchInFlight = false;
13628 }
13629}
13630
13631function ensurePwnLogStreamingForStatus(status) {
13632 if (!status) {
13633 return;
13634 }
13635
13636 if (status.log_file && status.log_file !== pwnLogActiveFile) {
13637 pwnLogActiveFile = status.log_file;
13638 updatePwnLogPath(status.log_file);
13639 }
13640
13641 if (status.installing) {
13642 setPwnStatusPollInterval(PWN_STATUS_FAST_INTERVAL);

Callers 2

deleteFileFunction · 0.70
clearFilesFunction · 0.70

Calls 1

addMethod · 0.80

Tested by

no test coverage detected