diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 87c48c5..7ab1e56 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -42,7 +42,7 @@ }, "productName": "CS工具箱", "mainBinaryName": "cstb", - "version": "0.0.1", + "version": "0.0.2", "identifier": "upup.cool", "plugins": {}, "app": { diff --git a/src/app/(main)/users/layout.tsx b/src/app/(main)/users/layout.tsx index 24fbf47..fe428e9 100644 --- a/src/app/(main)/users/layout.tsx +++ b/src/app/(main)/users/layout.tsx @@ -10,11 +10,8 @@ import { import { ToolButton } from "@/components/window/ToolButton" import { cn } from "@heroui/react" import { - AssemblyLine, - HardDisk, - SettingConfig, - UploadOne, - Videocamera, + AssemblyLine, SettingConfig, + UploadOne } from "@icon-park/react" import { usePathname, useRouter } from "next/navigation" // import { platform } from "@tauri-apps/plugin-os" diff --git a/src/components/cstb/Prepare.tsx b/src/components/cstb/Prepare.tsx index a6be2b1..6861aaa 100644 --- a/src/components/cstb/Prepare.tsx +++ b/src/components/cstb/Prepare.tsx @@ -1,6 +1,6 @@ import { Button, Spinner } from "@heroui/react" import { useRouter } from "next/navigation" -import React, { useEffect, useState } from "react" +import { useEffect, useState } from "react" import { useSnapshot } from "valtio" import { setCsDir, setDir, steamStore } from "@/store/steam" import { open } from "@tauri-apps/plugin-dialog" @@ -13,7 +13,7 @@ export function Prepare() { const [cs2Dir, setCs2Dir] = useState(steam.csDir) useEffect(() => { - const checkPaths = async () => { + const checkPaths = () => { if (steam.dir && steam.csDir) { router.push("/home") } else {