fix(hololake): bind updater trust into bundle config

This commit is contained in:
冰朔 2026-08-17 00:59:55 +08:00
commit 23a0849d6b
2 changed files with 10 additions and 0 deletions

View file

@ -22,6 +22,8 @@ test('HoloLake updater trust is product-owned and contains no inherited endpoint
assert.deepEqual(trust.allowedReleaseHosts, ['guanghulab.com'])
assert.equal(trust.state, 'PROVISIONED')
assert.ok(trust.publicKey.length > 100)
assert.deepEqual(tauriConfig.plugins.updater.endpoints, trust.endpoints)
assert.equal(tauriConfig.plugins.updater.pubkey, trust.publicKey)
for (const relative of [
'foundation.json',
'src-tauri/release-trust.json',