Skip to content

Commit c520c85

Browse files
authored
have hidden prss setting (#198449)
1 parent 2e4d75f commit c520c85

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/vs/platform/update/electron-main/abstractUpdateService.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ export abstract class AbstractUpdateService implements IUpdateService {
102102
return;
103103
}
104104

105+
// hidden setting
106+
if (this.configurationService.getValue<boolean>('_update.prss')) {
107+
const url = new URL(this.url);
108+
url.searchParams.set('prss', 'true');
109+
this.url = url.toString();
110+
}
111+
105112
this.setState(State.Idle(this.getUpdateType()));
106113

107114
if (updateMode === 'manual') {

0 commit comments

Comments
 (0)