()
| 20 | } |
| 21 | |
| 22 | function getTerminalRecoveryInfo(): { |
| 23 | inProgress: boolean |
| 24 | backupPath: string | null |
| 25 | } { |
| 26 | const config = getGlobalConfig() |
| 27 | return { |
| 28 | inProgress: config.appleTerminalSetupInProgress ?? false, |
| 29 | backupPath: config.appleTerminalBackupPath || null, |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | export function getTerminalPlistPath(): string { |
| 34 | return join(homedir(), 'Library', 'Preferences', 'com.apple.Terminal.plist') |
no test coverage detected