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:
Vendored
+1
-1
@@ -484,7 +484,7 @@ export type PreloadApi = {
|
||||
updater: {
|
||||
getVersion: () => Promise<string>
|
||||
getStatus: () => Promise<UpdateStatus>
|
||||
check: () => Promise<void>
|
||||
check: (options?: { includePrerelease?: boolean }) => Promise<void>
|
||||
download: () => Promise<void>
|
||||
quitAndInstall: () => Promise<void>
|
||||
dismissNudge: () => Promise<void>
|
||||
|
||||
@@ -826,7 +826,8 @@ const api = {
|
||||
updater: {
|
||||
getStatus: (): Promise<unknown> => ipcRenderer.invoke('updater:getStatus'),
|
||||
getVersion: (): Promise<string> => ipcRenderer.invoke('updater:getVersion'),
|
||||
check: (): Promise<void> => ipcRenderer.invoke('updater:check'),
|
||||
check: (options?: { includePrerelease?: boolean }): Promise<void> =>
|
||||
ipcRenderer.invoke('updater:check', options),
|
||||
download: (): Promise<void> => ipcRenderer.invoke('updater:download'),
|
||||
dismissNudge: (): Promise<void> => ipcRenderer.invoke('updater:dismissNudge'),
|
||||
quitAndInstall: async (): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user