v0.1.3: 深度审计修复(兼容/血缘/联姻/远征/数值)
- 旧档兼容:<0.1.1 存档缺 finance/yearStats/yearlyReports 字段加载归一化(防运行期崩溃) - 血缘防护:同母异父兄妹也禁止婚配(指婚/媒人/联姻三路齐封) - 联姻修正:一家一姻亲(allied 锁),再娶再嫁不再无限刷;男儿娶亲也子孙来归 - 和约语义:议和强推关系至 +30(真停战),不再打完一场还是仇雠 - 远征收队:任务完成/召回自动释放队员闲居;重伤者当月离队疗伤、不足定员提前撤队(修复人员永久困远征/卡状态) - 数值:婴儿夭折率 2%→0.8%;劫掠队强度 0.9→0.78;事件负资源钳制不为负灵石 - UI:丹药按钮显示持有并禁点;点将模式支持取消重选;设置页移除摆设项 - 新增 audit 套件:8 项(含 600 月长跑耐力)总测试 38→46 全绿
This commit is contained in:
@@ -54,16 +54,6 @@ function createWindow(): void {
|
||||
wc.once('did-finish-load', () => {
|
||||
clearTimeout(smokeWatchdog)
|
||||
})
|
||||
void smokeWatchdog
|
||||
setTimeout(async () => {
|
||||
try {
|
||||
const url = wc.getURL()
|
||||
const title = await wc.executeJavaScript('document.title').catch((e: Error) => 'ERR:' + e.message)
|
||||
console.log(`[PROBE] url=${url} title=${title}`)
|
||||
} catch (e) {
|
||||
console.log('[PROBE] failed', String(e))
|
||||
}
|
||||
}, 8000)
|
||||
const shotsDir = process.env.SMOKE_SHOTS_DIR
|
||||
wc.on('console-message', (_e, level, message) => {
|
||||
console.log(`[renderer:${level}] ${message}`)
|
||||
|
||||
Reference in New Issue
Block a user