2024-09-27 15:28:32 +08:00
|
|
|
|
"use client"
|
2025-03-17 11:48:30 +08:00
|
|
|
|
import { useSteamStore } from "@/store/steam"
|
2024-10-28 10:42:42 +08:00
|
|
|
|
|
2024-09-27 15:28:32 +08:00
|
|
|
|
export default function Page() {
|
2025-03-17 11:48:30 +08:00
|
|
|
|
const steam = useSteamStore()
|
2024-10-28 10:42:42 +08:00
|
|
|
|
|
|
|
|
|
|
return (
|
2025-11-05 13:20:50 +08:00
|
|
|
|
<section className="flex flex-col gap-4 overflow-hidden">
|
|
|
|
|
|
<div className="flex flex-col items-start gap-3 pt-2 pb-1">
|
|
|
|
|
|
<p>Steam路径:{steam.state.steamDir}</p>
|
|
|
|
|
|
<p>游戏路径:{steam.state.cs2Dir}</p>
|
|
|
|
|
|
<p>Steam路径有效:{steam.state.steamDirValid ? "是" : "否"}</p>
|
|
|
|
|
|
<p>游戏路径有效:{steam.state.cs2DirValid ? "是" : "否"}</p>
|
|
|
|
|
|
<p>Steam账号:{steam.currentUser()?.account_name || " "}</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
2024-10-28 10:42:42 +08:00
|
|
|
|
)
|
2024-09-27 15:28:32 +08:00
|
|
|
|
}
|