diff --git a/app/src/main/assets/html_ggnome_viewer.html b/app/src/main/assets/html_ggnome_viewer.html index e257d2f..9b30b73 100644 --- a/app/src/main/assets/html_ggnome_viewer.html +++ b/app/src/main/assets/html_ggnome_viewer.html @@ -6,7 +6,7 @@

GardenGnomeViewer

Offline viewer for GGPKG files generated with Pano2VR

- Version: 1.1.3
+ Version: 1.1.4
Copyright (c) 2019 Sebastian Knopf

Note: This is not a official project from GardenGnome Software! You can find the latest information on GitHub

diff --git a/app/src/main/java/com/ggnome/viewer/helper/GardenGnomePackage.java b/app/src/main/java/com/ggnome/viewer/helper/GardenGnomePackage.java index 4e51d3f..3453661 100644 --- a/app/src/main/java/com/ggnome/viewer/helper/GardenGnomePackage.java +++ b/app/src/main/java/com/ggnome/viewer/helper/GardenGnomePackage.java @@ -239,7 +239,9 @@ private void loadGGInfo() { this.metaConfigName = ggInfo.getString("configuration"); this.metaPreviewName = ggInfo.getJSONObject("preview").getString("img"); } catch (Exception e) { - throw new RuntimeException("unable to read gginfo"); + // assume preview name if the gginfo.json is not readable + this.metaPreviewName = "preview.jpg"; + // throw new RuntimeException("unable to read gginfo"); } this.metaLoaded = true;