From 362ef2282c3efa0a2a8b807218f61c77697c6367 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Wed, 10 Aug 2022 10:47:13 +0200 Subject: offer factory reset if startup fails, or config screen fails to load, cf. #114 --- pdf-over-commons/src/main/java/at/asit/pdfover/commons/Constants.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pdf-over-commons') diff --git a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Constants.java b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Constants.java index fedf0a58..d3864fdf 100644 --- a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Constants.java +++ b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Constants.java @@ -76,6 +76,9 @@ public class Constants { /** Configuration directory */ public static final String CONFIG_DIRECTORY = System.getProperty("user.home") + File.separator + ".pdf-over"; + /** Directory for config backup on factory reset */ + public static final String CONFIG_BACKUP_DIRECTORY = System.getProperty("user.home") + File.separator + ".pdf-over.old"; + /** The default configuration file name */ public static final String DEFAULT_CONFIG_FILENAME = "PDF-Over.config"; -- cgit v1.2.3