mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-08-20 04:27:29 +00:00
feat: final touches
This commit is contained in:
parent
b34bdc13d6
commit
4dae85e2bc
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
import { useEffect, memo, useState } from "react";
|
||||
import { useEffect, useMemo, memo, useState } from "react";
|
||||
import { motion } from "framer-motion";
|
||||
import { useUI, useAudio } from "../../context/LauncherContext";
|
||||
import { usePlatform } from "../../hooks/usePlatform";
|
||||
|
|
@ -34,6 +34,53 @@ const CreditsView = memo(function CreditsView() {
|
|||
const { playPressSound } = useAudio();
|
||||
const { isAndroid } = usePlatform();
|
||||
const [isHovered, setIsHovered] = useState(false);
|
||||
const shuffledAndroid = useMemo(
|
||||
//neo: yes im shuffling it
|
||||
() =>
|
||||
[
|
||||
"Peppinaramenisblack",
|
||||
"kacper",
|
||||
"tjdownchurch",
|
||||
"tjdownchurch's dad (rip)",
|
||||
"dadael3",
|
||||
"bekhens",
|
||||
"notrainbowsteve",
|
||||
"moth_scribe",
|
||||
"leader",
|
||||
"raymanroy",
|
||||
"fin",
|
||||
"liugu",
|
||||
"Zrox2013 (Zameras2013)",
|
||||
"kierwa",
|
||||
"cartox",
|
||||
"necmi",
|
||||
"theunknown",
|
||||
"XeroChunks (double thanks!)",
|
||||
"bee (quickjinxy_)",
|
||||
"loss_less",
|
||||
"ttfly",
|
||||
"harper",
|
||||
"dllie (tofou)",
|
||||
"recycleordie",
|
||||
"nezzled",
|
||||
"frenchwith0skill",
|
||||
"tarknim",
|
||||
"thehuckle",
|
||||
"gabrielblast",
|
||||
"nedjouamario",
|
||||
"bossanova",
|
||||
"jayem",
|
||||
"andrewjcf",
|
||||
"thingthing",
|
||||
"toastybaguette",
|
||||
"goobert",
|
||||
"Erickk64",
|
||||
"flamingphoenex",
|
||||
"Tymszn21",
|
||||
"DaPogLord",
|
||||
].sort(() => Math.random() - 0.5),
|
||||
[],
|
||||
);
|
||||
|
||||
const credits: CreditCategory[] = [
|
||||
{
|
||||
|
|
@ -98,10 +145,6 @@ const CreditsView = memo(function CreditsView() {
|
|||
members: [
|
||||
{ name: "Huckle", url: "https://github.com/TheHuckleDev" },
|
||||
{ name: "Andi_pog", url: "https://github.com/Andi-pog" },
|
||||
{
|
||||
name: "LordCambion",
|
||||
url: "https://github.com/LordCambion",
|
||||
},
|
||||
{ name: "neoapps", url: "https://github.com/neoapps-dev" },
|
||||
{ name: "tranqlmao", url: "https://github.com/tranqlmao" },
|
||||
],
|
||||
|
|
@ -113,6 +156,10 @@ const CreditsView = memo(function CreditsView() {
|
|||
{ name: "Rockefeler", url: "#" },
|
||||
{ name: "CDevJoud", url: "#" },
|
||||
{ name: "Rhys Evolution", url: "#" },
|
||||
{
|
||||
name: "LordCambion",
|
||||
url: "https://github.com/LordCambion",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
@ -174,12 +221,12 @@ const CreditsView = memo(function CreditsView() {
|
|||
],
|
||||
},
|
||||
{
|
||||
name: "Portable LCE",
|
||||
icon: "",
|
||||
name: "Project Lost Legacy",
|
||||
icon: "/images/lostlegacy.png",
|
||||
roles: [
|
||||
{
|
||||
role: "Founder",
|
||||
members: [{ name: "TBD", url: "#" }],
|
||||
members: [{ name: "SailsYT", url: "#" }],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -199,6 +246,23 @@ const CreditsView = memo(function CreditsView() {
|
|||
category: "SPECIAL THANKS",
|
||||
icon: "",
|
||||
subcategories: [
|
||||
...(isAndroid
|
||||
? [
|
||||
{
|
||||
name: "Android Beta Testers",
|
||||
icon: "",
|
||||
roles: [
|
||||
{
|
||||
role: "",
|
||||
members: shuffledAndroid.map((name) => ({
|
||||
name,
|
||||
url: "#",
|
||||
})),
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
: []),
|
||||
{
|
||||
name: "Discord Booster",
|
||||
icon: "/images/Nitro Boost.png",
|
||||
|
|
@ -432,4 +496,4 @@ const CreditsView = memo(function CreditsView() {
|
|||
);
|
||||
});
|
||||
|
||||
export default CreditsView;
|
||||
export default CreditsView;
|
||||
|
|
|
|||
|
|
@ -561,7 +561,7 @@ const SettingsView = memo(function SettingsView() {
|
|||
},
|
||||
});
|
||||
}
|
||||
items.push({
|
||||
/*items.push({
|
||||
id: "android_proton",
|
||||
label: `Proton: ${androidRunner === "proton10" ? "Proton 10" : "Proton 11 (Default)"}`,
|
||||
type: "button",
|
||||
|
|
@ -580,7 +580,7 @@ const SettingsView = memo(function SettingsView() {
|
|||
playPressSound();
|
||||
TauriService.installLatestDriver().catch(console.error);
|
||||
},
|
||||
});
|
||||
});*/
|
||||
items.push({
|
||||
id: "android_audio",
|
||||
label: `Audio: ${androidAudioBackend === "alsa" ? "ALSA" : "PulseAudio (Default)"}`,
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -66,7 +66,7 @@ const DEFAULT_SKINS: SavedSkin[] = [
|
|||
{ id: "sevenhundred", name: "700", url: "/Skins/700.png", isSlim: false },
|
||||
{
|
||||
id: "prismachunk0",
|
||||
name: "PrismaChunk0",
|
||||
name: "XeroChunks",
|
||||
url: "/Skins/PrismaChunk0.png",
|
||||
isSlim: false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue