Added if-Desktop check for saving screenshots next to .jar [ci skip]