From 6fd6ebe625db8a840e44f081f54a4112e4e68fd5 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Thu, 19 Sep 2019 22:17:49 +0200 Subject: [PATCH] Add version in INFO files --- src/be/nikiroo/fanfix/output/BasicOutput.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/be/nikiroo/fanfix/output/BasicOutput.java b/src/be/nikiroo/fanfix/output/BasicOutput.java index f3e31417..10412553 100644 --- a/src/be/nikiroo/fanfix/output/BasicOutput.java +++ b/src/be/nikiroo/fanfix/output/BasicOutput.java @@ -12,6 +12,7 @@ import be.nikiroo.fanfix.data.Paragraph; import be.nikiroo.fanfix.data.Paragraph.ParagraphType; import be.nikiroo.fanfix.data.Story; import be.nikiroo.utils.Progress; +import be.nikiroo.utils.Version; /** * This class is the base class used by the other output classes. It can be used @@ -150,7 +151,8 @@ public abstract class BasicOutput { } /** The creator name (this program, by me!) */ - static final String EPUB_CREATOR = "Fanfix (by Niki)"; + protected String EPUB_CREATOR = "Fanfix " + Version.getCurrentVersion() + + " (by Niki)"; /** The current best name for an image */ private String imageName; -- 2.27.0