fix(hololake): bind updater trust into bundle config
This commit is contained in:
parent
e8e918392c
commit
23a0849d6b
2 changed files with 10 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue