opt: disable GitHub attribution by default (#1173)
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
parent
830b78e0a7
commit
cfe247659a
|
|
@ -344,7 +344,7 @@ export function registerPtyHandlers(
|
|||
isPackaged: app.isPackaged,
|
||||
userDataPath: app.getPath('userData'),
|
||||
selectedCodexHomePath: getSelectedCodexHomePath?.() ?? null,
|
||||
githubAttributionEnabled: getSettings?.()?.enableGitHubAttribution ?? true
|
||||
githubAttributionEnabled: getSettings?.()?.enableGitHubAttribution ?? false
|
||||
}),
|
||||
onSpawned: (id) => runtime?.onPtySpawned(id),
|
||||
onExit: (id, code) => {
|
||||
|
|
@ -536,7 +536,7 @@ export function registerPtyHandlers(
|
|||
isPackaged: app.isPackaged,
|
||||
userDataPath: app.getPath('userData'),
|
||||
selectedCodexHomePath: getSelectedCodexHomePath?.() ?? null,
|
||||
githubAttributionEnabled: getSettings?.()?.enableGitHubAttribution ?? true
|
||||
githubAttributionEnabled: getSettings?.()?.enableGitHubAttribution ?? false
|
||||
})
|
||||
}
|
||||
const envToDelete = claudeAuth?.stripAuthEnv
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ export function getDefaultSettings(homedir: string): GlobalSettings {
|
|||
refreshLocalBaseRefOnWorktreeCreate: false,
|
||||
branchPrefix: 'git-username',
|
||||
branchPrefixCustom: '',
|
||||
enableGitHubAttribution: true,
|
||||
enableGitHubAttribution: false,
|
||||
theme: 'system',
|
||||
editorAutoSave: false,
|
||||
editorAutoSaveDelayMs: DEFAULT_EDITOR_AUTO_SAVE_DELAY_MS,
|
||||
|
|
|
|||
Loading…
Reference in New Issue