Mohamed Salah scored the only goal of the match as Egypt beat Guinea-Bissau to earn their first win of the Africa Cup of Nations .