From c12a680d279ece8dde66e114644293e603ca5d75 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 01:37:54 +0000 Subject: [PATCH] Add installer prerequisites notice Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/a71df5f0-f463-4c08-b54d-946d97d0aafd Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- iso/installer.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/iso/installer.py b/iso/installer.py index 3388535..b8bc13b 100644 --- a/iso/installer.py +++ b/iso/installer.py @@ -363,6 +363,40 @@ class InstallerWindow(Adw.ApplicationWindow): sep.set_margin_end(40) outer.append(sep) + notice_frame = Gtk.Frame() + notice_frame.add_css_class("card") + notice_frame.set_margin_start(40) + notice_frame.set_margin_end(40) + notice_frame.set_margin_top(20) + notice_frame.set_margin_bottom(4) + + notice_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=12) + notice_box.set_margin_top(12) + notice_box.set_margin_bottom(12) + notice_box.set_margin_start(16) + notice_box.set_margin_end(16) + + notice_icon = symbolic_icon("dialog-information-symbolic") + notice_icon.set_valign(Gtk.Align.START) + notice_box.append(notice_icon) + + notice_lbl = Gtk.Label() + notice_lbl.set_use_markup(True) + notice_lbl.set_wrap(True) + notice_lbl.set_xalign(0) + notice_lbl.set_halign(Gtk.Align.FILL) + notice_lbl.set_markup( + "Heads up — Server + Desktop prerequisites\n" + "• A domain or subdomain from https://njal.la\n" + "• The ability to open / forward ports on your router\n\n" + "Don't worry — after install, the onboarding wizard walks you through every step.\n" + "Desktop Only and Node Only do not require a domain or port forwarding." + ) + notice_box.append(notice_lbl) + + notice_frame.set_child(notice_box) + outer.append(notice_frame) + # Role label role_lbl = Gtk.Label() role_lbl.set_markup("Choose your installation type:")