mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-07-15 23:10:48 +00:00
feat: use emerald launcher logo in setupview
This commit is contained in:
BIN
public/images/emerald_launcher.png
Normal file
BIN
public/images/emerald_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user