From 8f1a9d391ca327a6d19525e2b0cc5b49a55b5716 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Sun, 17 Dec 2017 11:39:57 +0100 Subject: [PATCH] HTMLExporter now also shows the link to the export. --- .../de/fabianonline/telegram_backup/exporter/HTMLExporter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/de/fabianonline/telegram_backup/exporter/HTMLExporter.kt b/src/main/kotlin/de/fabianonline/telegram_backup/exporter/HTMLExporter.kt index 0ab1b18..f1b5a70 100644 --- a/src/main/kotlin/de/fabianonline/telegram_backup/exporter/HTMLExporter.kt +++ b/src/main/kotlin/de/fabianonline/telegram_backup/exporter/HTMLExporter.kt @@ -154,6 +154,8 @@ class HTMLExporter { val dest = File(base + "style.css") FileUtils.copyURLToFile(cssFile, dest) println("Finished.") + println("Open the following link in your browser to view the export:") + println("file://${base}index.html") } catch (e: IOException) { e.printStackTrace() logger.error("Caught an exception!", e)