From: Niki Roo Date: Thu, 19 Sep 2019 20:17:49 +0000 (+0200) Subject: Add version in INFO files X-Git-Tag: fanfix-swing-0.0.1~12^2~41 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=6fd6ebe625db8a840e44f081f54a4112e4e68fd5;p=fanfix-swing.git Add version in INFO files --- 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;