diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..048291d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Firefly Shelter + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/frontend/public/heart-hsr.gif b/frontend/public/heart-hsr.gif new file mode 100644 index 0000000..d6865f9 Binary files /dev/null and b/frontend/public/heart-hsr.gif differ diff --git a/frontend/src/components/settingModal/index.tsx b/frontend/src/components/settingModal/index.tsx index 2a7ff21..720c389 100644 --- a/frontend/src/components/settingModal/index.tsx +++ b/frontend/src/components/settingModal/index.tsx @@ -14,8 +14,9 @@ export default function SettingModal({ if (!isOpen) return null const { setIsOpenSelfUpdateModal } = useModalStore() - const { closingOption, setClosingOption } = useSettingStore() - const { setUpdateData, updateData } = useLauncherStore() + const { closingOption, setClosingOption, serverVersion, + proxyVersion, } = useSettingStore() + const { setUpdateData, updateData, launcherVersion } = useLauncherStore() const CheckUpdate = async () => { const launcherData = await CheckUpdateLauncher() if (!launcherData.isUpdate) { @@ -32,7 +33,7 @@ export default function SettingModal({ } return ( -
+
{/* Header */}
@@ -90,6 +91,24 @@ export default function SettingModal({
+ + + {/* Section 3: Launcher Version */} +
+

Version

+
+

+ Server: {serverVersion} +

+

+ Proxy: {proxyVersion} +

+ +

+ Launcher: {launcherVersion} +

+
+
diff --git a/frontend/src/pages/launcher/index.tsx b/frontend/src/pages/launcher/index.tsx index 82a153a..3548beb 100644 --- a/frontend/src/pages/launcher/index.tsx +++ b/frontend/src/pages/launcher/index.tsx @@ -16,7 +16,8 @@ import { BackgroundSelector } from '@/components/backgroudModal'; export default function LauncherPage() { - const { gamePath, + const { + gamePath, setGamePath, setGameDir, serverPath, @@ -48,7 +49,7 @@ export default function LauncherPage() { progressDownload, downloadSpeed, updateData, - launcherVersion, + // launcherVersion, setLauncherVersion, setIsLoading, setDownloadType, @@ -311,7 +312,7 @@ export default function LauncherPage() { -
+
@@ -466,55 +467,11 @@ export default function LauncherPage() {
)} - {/* Version Info */} - {serverReady && proxyReady && !isDownloading && ( -
-

Version server: {serverVersion}

-

Version proxy: {proxyVersion}

-

Version launcher: {launcherVersion}

-
- )} +
+ firefly animation + +
{/* Modal */}