feat: use emerald launcher logo in setupview

This commit is contained in:
KayJann
2026-06-08 00:24:26 +02:00
parent 8bf6116b05
commit a05dd01c69
2 changed files with 2 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -2,7 +2,7 @@ import { useState, useEffect } from "react";
import { motion, AnimatePresence } from "framer-motion";
import { TauriService, Runner } from "../../services/TauriService";
import { usePlatform } from "../../hooks/usePlatform";
import { useConfig, useAudio, useGame } from "../../context/LauncherContext";
import { useConfig, useAudio } from "../../context/LauncherContext";
interface SetupViewProps {
onComplete: () => void;
}
@@ -12,7 +12,6 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
const {
username, setUsername,
setHasCompletedSetup,
profile,
setVfxEnabled: setConfigVfx,
setRpcEnabled: setConfigRpc,
setLinuxRunner,
@@ -22,8 +21,7 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
animationsEnabled,
} = useConfig();
const { playPressSound, playSfx } = useAudio();
const { editions } = useGame();
const titleImage = editions.find(e => e.id === profile)?.titleImage || "/images/MenuTitle.png";
const titleImage = "/images/emerald_launcher.png";
const [currentStep, setCurrentStep] = useState(0);
const [focusIndex, setFocusIndex] = useState(0);
const [tempUsername, setTempUsername] = useState(username);