UPDATE: Add ldiff

This commit is contained in:
2025-08-25 18:12:13 +07:00
parent 99b9df1ce5
commit 6b222bfa70
45 changed files with 1700 additions and 535 deletions

View File

@@ -3,7 +3,7 @@ import ThemeController from '../components/themeController'
import { ToastContainer } from 'react-toastify'
import { useGlobalEvents } from '@/hooks';
import useLauncherStore from '@/stores/launcherStore';
import useHdiffzStore from '@/stores/hdiffzStore';
import useDiffStore from '@/stores/diffStore';
export const Route = createRootRoute({
component: RootLayout
@@ -11,7 +11,7 @@ export const Route = createRootRoute({
function RootLayout() {
const { setGameRunning, setServerRunning, setProxyRunning, setProgressDownload, setDownloadSpeed } = useLauncherStore()
const { setProgressUpdate, setMaxProgressUpdate, setMessageUpdate } = useHdiffzStore()
const { setProgressUpdate, setMaxProgressUpdate, setMessageUpdate, setStageType } = useDiffStore()
useGlobalEvents({
setGameRunning,
setServerRunning,
@@ -21,6 +21,7 @@ function RootLayout() {
setProgressDownload,
setDownloadSpeed,
setMessageUpdate,
setStageType
});
return (
@@ -40,7 +41,7 @@ function RootLayout() {
<a>Tools</a>
<ul className="p-2">
<li><Link to="/language">Language</Link></li>
<li><Link to="/hdiffz">Hdiffz</Link></li>
<li><Link to="/diff">Diff</Link></li>
</ul>
</li>
<li>
@@ -77,7 +78,7 @@ function RootLayout() {
<summary>Tools</summary>
<ul className="p-2">
<li><Link to="/language">Language</Link></li>
<li><Link to="/hdiffz">Hdiffz</Link></li>
<li><Link to="/diff">Diff</Link></li>
</ul>
</details>
</li>