Skip to content

Commit

Permalink
Update loading.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jhk0530 authored Jan 14, 2024
1 parent be1a6eb commit 4a916c6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/loading.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- Copyright (c) 2018 Dirk Schumacher, Noam Ross, Rich FitzJohn -->
<!-- Copyright (c) 2024 Jinhwan Kim -->

<!DOCTYPE html>
<html>
Expand Down Expand Up @@ -27,14 +28,7 @@
let el = document.getElementById('status')
el.innerHTML = `<p>It takes longer than expected. Please wait a little more.</p>`;
}
})
electron.ipcRenderer.on('failed', (event, _) => {
let el = document.getElementById('status')
el.innerHTML = `<h1>Failure</h1>
<p>We could not start the shiny application. Please report this issue to the developers of this application.</p>`;
document.getElementById('loading-spinner').innerHTML = ''
failed = true;
})
})
</script>
</body>
</html>

0 comments on commit 4a916c6

Please sign in to comment.