Merge remote-tracking branch 'origin/Dev_20261001'

This commit is contained in:
Bill committed 2026-10-16 23:10:29 +08:00
commit 9e424138b5
23 files changed
+409 -132

No files matched your search

+11
View File
@@ -185,6 +185,17 @@ console.log('[value bands]')
ok(back.terminal.highlightStats === on, `the stats switch '${on}' survives the round trip`)
}
}
{
for (const on of [true, false]) {
const back = await roundTrip({
terminal: { ...store.loadSettings().terminal, confirmTabClose: on, confirmSshTabClose: on }
})
ok(
back.terminal.confirmTabClose === on && back.terminal.confirmSshTabClose === on,
`tab close confirm switches '${on}' survive the round trip`
)
}
}
{
const rules = [rule({ id: 'keep-1' }), rule({ id: 'keep-2' })]
await roundTrip({ highlightRules: rules })
+7
View File
@@ -439,6 +439,13 @@ console.log('updater events drive the state the renderer reads')
ok(live.logger === console, 'the updater logs through console')
ok(live.autoDownload === false, 'auto-download is left to the user (the UI offers the button)')
ok(live.autoInstallOnAppQuit === true, 'a downloaded update installs on app quit')
// Differential download is disabled: it cannot work against either feed (GitHub
// assets reject multi-range requests, the Gitea channel keeps no old blockmap),
// and each failure costs a second full transfer.
ok(
live.disableDifferentialDownload === true,
'differential download is off (a failed attempt would download the package twice)'
)
const before = await call(Ipc.UPDATE_STATE_GET)
ok(before !== undefined && typeof before.currentVersion === 'string', 'UPDATE_STATE_GET returns the current state')