feat(settings): Cmd+Shift affordances for RC channel and hidden experimental (#887)
Cmd+Shift-click "Check for Updates" (menu or Settings > General) opts into the RC release channel by switching the feed to the github provider with allowPrerelease=true for the rest of the process. Cmd+Shift-click the Experimental sidebar entry reveals a "Hidden experimental" group with an orange-tinted header and a disabled placeholder toggle — the slot for future unfinished/staff-only options. Also reword the Experimental description to something less alarmist: "New features that are still taking shape. Give them a try."
This commit is contained in:
@@ -231,7 +231,9 @@ export function registerUpdaterHandlers(_store: Store): void {
|
||||
|
||||
ipcMain.handle('updater:getStatus', () => getUpdateStatus())
|
||||
ipcMain.handle('updater:getVersion', () => app.getVersion())
|
||||
ipcMain.handle('updater:check', () => checkForUpdatesFromMenu())
|
||||
ipcMain.handle('updater:check', (_event, options?: { includePrerelease?: boolean }) =>
|
||||
checkForUpdatesFromMenu(options)
|
||||
)
|
||||
ipcMain.handle('updater:download', () => downloadUpdate())
|
||||
ipcMain.handle('updater:quitAndInstall', () => quitAndInstall())
|
||||
ipcMain.handle('updater:dismissNudge', () => dismissNudge())
|
||||
|
||||
Reference in New Issue
Block a user