From 54f60733fb647e75bf970a1fd9f2c96681d256d1 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sun, 20 Sep 2026 19:34:58 -0400 Subject: [PATCH] mod: upgrade sable to latest release additionally added patch --- pkgs/common/sable/0001-races-patch.patch | 31 ++++++++++++++++++++++++ pkgs/common/{ => sable}/sable.nix | 8 ++++-- pkgs/default.nix | 2 +- 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 pkgs/common/sable/0001-races-patch.patch rename pkgs/common/{ => sable}/sable.nix (94%) diff --git a/pkgs/common/sable/0001-races-patch.patch b/pkgs/common/sable/0001-races-patch.patch new file mode 100644 index 0000000..ad25dbc --- /dev/null +++ b/pkgs/common/sable/0001-races-patch.patch @@ -0,0 +1,31 @@ +diff --git a/src/app/pages/client/ClientRoot.tsx b/src/app/pages/client/ClientRoot.tsx +index acdeab967..d64f32c53 100644 +--- a/src/app/pages/client/ClientRoot.tsx ++++ b/src/app/pages/client/ClientRoot.tsx +@@ -86,8 +86,6 @@ function ClientRootLoading() { + const activeSessionId = useAtomValue(activeSessionIdAtom); + const setSessions = useSetAtom(sessionsAtom); + +- const [showEasterEggs] = useSetting(settingsAtom, 'showEasterEggs'); +- const [animalKind] = useSetting(settingsAtom, 'animalKind'); + + const activeSession: Session | undefined = + sessions.find((session) => session.userId === activeSessionId) ?? sessions[0]; +@@ -108,14 +106,15 @@ function ClientRootLoading() { + window.location.reload(); + }; + +- const loadingAnimal = showEasterEggs && animalKind ? animalKind : 'cats'; ++ const races = ["Petting Miqo’te", "Hugging Roegadyn", "Punting Lalafell", "Climbing Elezen", "Booping Viera"]; ++ const result = races[Math.floor(Math.random() * races.length)]; + + return ( + + + + +- {`Petting ${loadingAnimal}`} ++ {`${races}`} + + {activeSession && ( +