Skip to content

v0.3.1 — Language switch and a screenshot

Latest

Choose a tag to compare

@CookPiu CookPiu released this 12 Sep 03:59

A small follow-up to v0.3.0: the interface language can now be forced from the command line, and the README finally has a screenshot.

New

--lang startup argument. The interface still follows your system language by default, but you can override it:

.\WinHomestead.exe --lang en     # force English
.\WinHomestead.exe --lang zh     # force Chinese

--lang=en-US and --lang=zh-Hans work too. Useful if your Windows is set to one language but you'd rather read the other — and it's how the README screenshot was taken on a Chinese system.

The parsing runs at the very start of OnStartup, before anything renders: the strings on screen are resolved when controls are constructed, so a moment later would already be too late.

Also

  • The README (both languages) now shows the main list, so you can see what the thing looks like before downloading it.
  • Project conventions moved out of the model-tool config file into CONTRIBUTING.md — layering rules, the four stages of a task, how the bilingual strings work, and a few traps worth knowing.

Install

Download both files, keep them in the same folder, and run WinHomestead.exe:

File Why
WinHomestead.exe Single file, all dependencies embedded
WinHomestead.exe.config Binding redirects and runtime declaration — it won't start without this

Requires Windows 11 22H2 or later and an administrator account. No .NET install needed — it runs on the .NET Framework 4.8 that ships with Windows.

Important

This exe is not code-signed, so Windows will show a SmartScreen box. Click More info → Run anyway if you want to proceed; otherwise build from source or verify the checksums below.

Checksums (SHA256)

BBAA8748A2D2AE9E41C16D9B331DB982BD4F589BA1C811AD9610B51934A6780C  WinHomestead.exe
FACB7DA0FBCCD9D6341D74F09A47E66D4E22558320E6D29C464F51C831574238  WinHomestead.exe.config

Verify with Get-FileHash .\WinHomestead.exe -Algorithm SHA256.

Full changelog: v0.3.0...v0.3.1


中文说明

v0.3.0 的小补丁:界面语言可以用命令行参数强制,README 终于有截图了。

新增

--lang 启动参数。 界面默认仍跟随系统语言,但可以覆盖:

.\WinHomestead.exe --lang en     # 强制英文
.\WinHomestead.exe --lang zh     # 强制中文

--lang=en-US、--lang=zh-Hans 也认。系统是一种语言、想看另一种时用得上——README 的截图就是在中文系统上靠它截的英文界面。

解析放在 OnStartup 最前面:界面上的字在控件构造时就取好了,晚一步就来不及。

其他

  • README 两版都放上了主列表截图,下载前先看得到长什么样。
  • 工程约定从模型工具的配置文件搬进了 CONTRIBUTING.md:分层约束、任务的四个环节、双语文案写法,以及几个踩过的坑。

安装

下载上面两个文件,放在同一个目录,双击 WinHomestead.exe。需要 Windows 11 22H2 及以上 + 管理员账户,无需安装 .NET。

这个 exe 没有代码签名,Windows 会弹 SmartScreen 蓝框。确认要运行就点「更多信息」→「仍要运行」;不放心可以自己从源码构建,或者比对上面的校验和。