mod: upgrade sable to latest release
additionally added patch
This commit is contained in:
@@ -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 (
|
||||||
|
<SplashScreen>
|
||||||
|
<Box direction="Column" grow="Yes" alignItems="Center" justifyContent="Center" gap="400">
|
||||||
|
<Spinner variant="Secondary" size="600" />
|
||||||
|
|
||||||
|
- <Text>{`Petting ${loadingAnimal}`}</Text>
|
||||||
|
+ <Text>{`${races}`}</Text>
|
||||||
|
|
||||||
|
{activeSession && (
|
||||||
|
<Text
|
||||||
@@ -28,13 +28,13 @@ buildNpmPackage (
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
pname = "sable-unwrapped";
|
pname = "sable-unwrapped";
|
||||||
version = "1.22.3";
|
version = "1.22.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SableClient";
|
owner = "SableClient";
|
||||||
repo = "Sable";
|
repo = "Sable";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-bU20ULw8qNJggS3TFSFNOSkYSI12Q8BCHqMq2oQfu2Y=";
|
hash = "sha256-AZ2gKcCLJvllC/lOL+l/zt3/RxztWd8mu25Eo0vyMBY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nodejs = nodejs_24;
|
nodejs = nodejs_24;
|
||||||
@@ -68,6 +68,10 @@ buildNpmPackage (
|
|||||||
--outDir node_modules/@sableclient/tauri-plugin-livekit-mobile/dist-js
|
--outDir node_modules/@sableclient/tauri-plugin-livekit-mobile/dist-js
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./0001-races-patch.patch
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
inherit caitsith;
|
inherit caitsith;
|
||||||
|
|
||||||
# any packages that build instructions are in this repo, they go here
|
# any packages that build instructions are in this repo, they go here
|
||||||
sable-web = pkgs.callPackage ./common/sable.nix { };
|
sable-web = pkgs.callPackage ./common/sable/sable.nix { };
|
||||||
swaytreesave = pkgs.callPackage ./linux/swaytreesave.nix { };
|
swaytreesave = pkgs.callPackage ./linux/swaytreesave.nix { };
|
||||||
musicpresence = pkgs.callPackage ./linux/musicpresence.nix { };
|
musicpresence = pkgs.callPackage ./linux/musicpresence.nix { };
|
||||||
vintage-story = pkgs.callPackage ./linux/vintage-story.nix { };
|
vintage-story = pkgs.callPackage ./linux/vintage-story.nix { };
|
||||||
|
|||||||
Reference in New Issue
Block a user