From ec4d8034acf69af56d646b0a148b8e29e5e026d0 Mon Sep 17 00:00:00 2001 From: Matt Compton Date: Tue, 11 Apr 2023 17:29:58 +0000 Subject: [PATCH] Change internet check to Arch's captive portal check (loads faster) --- jade_gui/functions/welcome_screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jade_gui/functions/welcome_screen.py b/jade_gui/functions/welcome_screen.py index fb15741..5b7f29e 100644 --- a/jade_gui/functions/welcome_screen.py +++ b/jade_gui/functions/welcome_screen.py @@ -46,7 +46,7 @@ class WelcomeScreen(JadeScreen, Adw.Bin): def check_internet(self): while self.do_check_internet: try: - urllib.request.urlopen("https://getcryst.al", timeout=1) + urllib.request.urlopen("https://ping.archlinux.org", timeout=1) self.online() if not self.next_button.get_sensitive(): GLib.idle_add(self.allow_continue, True)