@@ -26,7 +26,7 @@ import { ChatConfiguration } from '../../chat/common/constants.js';
26
26
27
27
interface IConfiguration extends IWindowsConfiguration {
28
28
// --- Start Positron ---
29
- update ?: { mode ?: string ; autoUpdate ?: boolean } ;
29
+ update ?: { mode ?: string ; autoUpdate ?: boolean ; positron : { channel ?: string } } ;
30
30
// --- End Positron ---
31
31
debug ?: { console ?: { wordWrap ?: boolean } } ;
32
32
editor ?: { accessibilitySupport ?: 'on' | 'off' | 'auto' } ;
@@ -55,6 +55,7 @@ export class SettingsChangeRelauncher extends Disposable implements IWorkbenchCo
55
55
'security.restrictUNCAccess' ,
56
56
// --- Start Positron ---
57
57
'update.autoUpdate' ,
58
+ 'update.positron.channel' ,
58
59
// --- End Positron ---
59
60
'accessibility.verbosity.debug' ,
60
61
ChatConfiguration . UnifiedChatView ,
@@ -80,6 +81,7 @@ export class SettingsChangeRelauncher extends Disposable implements IWorkbenchCo
80
81
81
82
// --- Start Positron ---
82
83
private readonly autoUpdate = new ChangeObserver ( 'boolean' ) ;
84
+ private readonly updateChannel = new ChangeObserver ( 'string' ) ;
83
85
// --- End Positron ---
84
86
85
87
constructor (
@@ -145,6 +147,7 @@ export class SettingsChangeRelauncher extends Disposable implements IWorkbenchCo
145
147
146
148
// --- Start Positron ---
147
149
processChanged ( this . autoUpdate . handleChange ( config . update ?. autoUpdate ) ) ;
150
+ processChanged ( this . updateChannel . handleChange ( config . update ?. positron . channel ) ) ;
148
151
// --- End Positron ---
149
152
150
153
// On linux turning on accessibility support will also pass this flag to the chrome renderer, thus a restart is required
0 commit comments