mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-12-15 06:02:40 +00:00
🥅 Reactivate iTerm on failure
This commit is contained in:
parent
a347f72f7a
commit
a85acc6c41
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ module.exports = async (files) => {
|
|||
`\nAll videos and screenshots were successfully recorded. You can use your mouse again\n`
|
||||
)
|
||||
} catch (error) {
|
||||
await makeAppActive('iTerm')
|
||||
|
||||
if (error.code === 'RECORDER_TIMEOUT') {
|
||||
console.info('The recorder timed out.')
|
||||
console.info(
|
||||
|
|
Loading…
Reference in a new issue