diff --git a/frontend/src/components/header/index.tsx b/frontend/src/components/header/index.tsx index ee27cb1..82f56ef 100644 --- a/frontend/src/components/header/index.tsx +++ b/frontend/src/components/header/index.tsx @@ -2,34 +2,30 @@ import { Link } from "@tanstack/react-router"; import useModalStore from "@/stores/modalStore"; import { Blend, BookOpen, Diff, Home, Info, Languages, Minus, Puzzle, Settings, TrendingUpDown, Wrench, X } from "lucide-react"; import { AppService } from "@bindings/firefly-launcher/internal/app-service"; -import { motion } from "motion/react"; export default function Header() { const { setIsOpenSettingModal } = useModalStore() const controlButtons = [ { - icon: , + icon: , action: () => setIsOpenSettingModal(true), tip: "Settings", - hover: { rotate: 20, color: "#ffffff" }, }, { - icon: , + icon: , action: () => AppService.MinimizeApp(), tip: "Minimize", - hover: { rotate: 20, color: "#ffffff" }, }, { - icon: , + icon: , action: () => AppService.CloseApp(), tip: "Close", - hover: {color: "#ffffff", rotate: -10 }, }, ] return ( -
+
@@ -58,17 +54,32 @@ export default function Header() {
  • About
  • - +
    Logo

    - Firefly - + Firefly + Launcher

    -

    By Kain

    +

    + By Kain +

    @@ -135,14 +146,14 @@ export default function Header() {
    {controlButtons.map((btn, i) => (
    - - {btn.icon} - +
    + {btn.icon} +
    +
    ))}
    diff --git a/frontend/src/pages/launcher/index.tsx b/frontend/src/pages/launcher/index.tsx index 1b56c4c..82a153a 100644 --- a/frontend/src/pages/launcher/index.tsx +++ b/frontend/src/pages/launcher/index.tsx @@ -280,11 +280,11 @@ export default function LauncherPage() { /> {/* Header */} -
    -
    Firefly GO
    +
    +
    Firefly GO
    -
    +
    {widgetLinks.map((link, idx) => (
    +
    {downloadType} @@ -468,10 +468,50 @@ export default function LauncherPage() { {/* Version Info */} {serverReady && proxyReady && !isDownloading && ( -
    -

    Version server: {serverVersion}

    -

    Version proxy: {proxyVersion}

    -

    Version launcher: {launcherVersion}

    +
    +

    Version server: {serverVersion}

    +

    Version proxy: {proxyVersion}

    +

    Version launcher: {launcherVersion}

    )} diff --git a/internal/app-service/app.go b/internal/app-service/app.go index 1445f50..235af9b 100644 --- a/internal/app-service/app.go +++ b/internal/app-service/app.go @@ -61,4 +61,3 @@ func (a *AppService) RestoreApp() (bool, string) { window.Restore() return true, "" } - diff --git a/pkg/constant/constant.go b/pkg/constant/constant.go index 22e8fd4..8818bef 100644 --- a/pkg/constant/constant.go +++ b/pkg/constant/constant.go @@ -10,7 +10,7 @@ const ProxyZipFile = "64bit.zip" const LauncherFile = "firefly-launcher.exe" const TempUrl = "./temp" -const CurrentLauncherVersion = "2.2.0" +const CurrentLauncherVersion = "2.2.1" type ToolFile string