diff --git a/gui/src-tauri/src/main.rs b/gui/src-tauri/src/main.rs index df0d19a..260cada 100644 --- a/gui/src-tauri/src/main.rs +++ b/gui/src-tauri/src/main.rs @@ -44,7 +44,7 @@ async fn open_splatnet(app: tauri::AppHandle, gtoken: String) -> Option<()> { ) .title("Splatnet3") .center() - .inner_size(1040.0, 960.0) + .inner_size(400.0, 700.0) .initialization_script(&format!( r##" const gtoken = "_gtoken={gtoken}"; diff --git a/gui/src-tauri/tauri.conf.json b/gui/src-tauri/tauri.conf.json index a640476..8dab183 100644 --- a/gui/src-tauri/tauri.conf.json +++ b/gui/src-tauri/tauri.conf.json @@ -84,12 +84,12 @@ "fullscreen": false, "resizable": true, "title": "s3si.ts", - "width": 400, - "height": 400, - "minWidth": 320, - "minHeight": 400, + "width": 500, + "height": 600, + "minWidth": 400, + "minHeight": 500, "visible": false } ] } -} \ No newline at end of file +} diff --git a/gui/src/components/RunPanel.tsx b/gui/src/components/RunPanel.tsx index 1cd818a..df37c49 100644 --- a/gui/src/components/RunPanel.tsx +++ b/gui/src/components/RunPanel.tsx @@ -30,7 +30,7 @@ export const RunPanel: React.FC = () => { }) const { state } = result; const newState = await run(state, { - exporter: "stat.ink,file", + exporter: "stat.ink", monitor: false, withSummary: false, skipMode: exportBattle === false ? 'vs' : exportCoop === false ? 'coop' : undefined, @@ -85,7 +85,7 @@ export const LogPanel: React.FC = ({ className }) => { } }, [renderedLogs]) - return
+ return
{renderedLogs.length === 0 &&
{t('欢迎! 请点击"导出"按钮开始使用.')}
} {renderedLogs.map((line, i) =>
{line}
)}
diff --git a/gui/src/pages/Home.tsx b/gui/src/pages/Home.tsx index 9e666e5..eab2ac0 100644 --- a/gui/src/pages/Home.tsx +++ b/gui/src/pages/Home.tsx @@ -37,13 +37,15 @@ export const Home: React.FC = () => { return
-
-
- +
+
+ {t('设置')} - {t('前往 stat.ink')} - +
+ + {t('前往 stat.ink')} +