1- import { Sparkles } from "lucide- react" ;
2-
1+ import { useEffect , useState } from "react" ;
2+ import { GetWailsJSON } from "../../../wailsjs/go/app/Service" ;
33export function AboutSettings ( ) {
4+ const [ wailsJson , setWailsJson ] = useState < any > ( null ) ;
5+
6+ useEffect ( ( ) => {
7+ async function fetchWailsJSON ( ) {
8+ const data = await GetWailsJSON ( ) ;
9+ setWailsJson ( JSON . parse ( data ) ) ;
10+ }
11+ fetchWailsJSON ( ) ;
12+ } , [ ] ) ;
13+
414 return (
515 < div className = "p-8 max-w-2xl h-full flex flex-col" >
616 < div className = "flex-1 space-y-8" >
@@ -9,18 +19,20 @@ export function AboutSettings() {
919 < img src = "/appicon.png" alt = "logo" />
1020 </ div >
1121 < div className = "text-center" >
12- < h3 className = "text-2xl font-bold" > Firebringer</ h3 >
13- < p className = "text-sm text-muted-foreground" > Version 0.0.1</ p >
22+ < h3 className = "text-2xl font-bold" > VisionFlow</ h3 >
23+ < p className = "text-sm text-muted-foreground" >
24+ Version { wailsJson ?. info ?. productVersion }
25+ </ p >
1426 </ div >
1527 < p className = "text-sm leading-relaxed text-center" >
16- Firebringer 是一个可视化工作流编排工具,通过直观的节点式界面,
28+ VisionFlow 是一个可视化工作流编排工具,通过直观的节点式界面,
1729 让你轻松设计和管理 AI 驱动的智能工作流。
1830 </ p >
1931 </ div >
2032 </ div >
2133
2234 < div className = "text-center text-xs text-muted-foreground pt-8" >
23- © 2026 Firebringer . All rights reserved.
35+ © 2026 VisionFlow . All rights reserved.
2436 </ div >
2537 </ div >
2638 ) ;
0 commit comments