have hidden prss setting (#198449)

This commit is contained in:
João Moreno
2023-11-16 17:28:20 +01:00
committed by GitHub
parent 2e4d75fa7d
commit c520c85342
@@ -102,6 +102,13 @@ export abstract class AbstractUpdateService implements IUpdateService {
return;
}
// hidden setting
if (this.configurationService.getValue<boolean>('_update.prss')) {
const url = new URL(this.url);
url.searchParams.set('prss', 'true');
this.url = url.toString();
}
this.setState(State.Idle(this.getUpdateType()));
if (updateMode === 'manual') {