Skip to content

Commit

Permalink
have hidden prss setting (#198449)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno authored Nov 16, 2023
1 parent 2e4d75f commit c520c85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/vs/platform/update/electron-main/abstractUpdateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit c520c85

Please sign in to comment.