async function autoOpenLastProject () {
  const context = getContext()
  const id = context.db.get('config.lastOpenProject').value()
  if (id) {
    try {
      await open(id, context)
    } catch (e) {
      log(`Project can't be auto-opened`, id)
    }
  }
}
async function autoOpenLastProject () {
  const context = getContext()
  const id = context.db.get('config.lastOpenProject').value()
  if (id) {
    try {
      await open(id, context)
    } catch (e) {
      log(`Project can't be auto-opened`, id)
    }
  }
}
async function autoOpenLastProject ( ) { const context = getContext ( ) const id = context . db . get ( 'config.lastOpenProject' ) . value ( ) if ( id ) { try { await open ( id , context ) } catch ( e ) { log ( ` ` , id ) } } }
Open last project
Open last project
Auto - opens the last project in the database