From 02d4fa2199761e5591a5504d42d29e8b776879e0 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Thu, 27 Oct 2022 06:37:48 +0200 Subject: [PATCH] add package issue notification --- preload/preload.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/preload/preload.js b/preload/preload.js index 9f0fb0d..0fe0882 100644 --- a/preload/preload.js +++ b/preload/preload.js @@ -178,6 +178,16 @@ window.addEventListener('DOMContentLoaded', () => { confirmButtonText: 'Okay' }); break; + case "package-issue": + Swal.fire({ + title: 'Uh oh!', + text: status.message, + icon: 'error', + confirmButtonText: 'Okay' + }); + $("#launch-btn").attr('disabled', true); + $('#launch-btn').html('missing packages'); + break; case "update-complete": Swal.fire({ title: 'Yaaay!',