diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-10 10:47:13 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-10 10:47:13 +0200 |
commit | 362ef2282c3efa0a2a8b807218f61c77697c6367 (patch) | |
tree | 61e333fbb74be72e5354990c000ab0ad650e4629 /pdf-over-commons | |
parent | d8b153cc7c9f57922d1d6bed4cdbe07e3564a926 (diff) | |
download | pdf-over-362ef2282c3efa0a2a8b807218f61c77697c6367.tar.gz pdf-over-362ef2282c3efa0a2a8b807218f61c77697c6367.tar.bz2 pdf-over-362ef2282c3efa0a2a8b807218f61c77697c6367.zip |
offer factory reset if startup fails, or config screen fails to load, cf. #114
Diffstat (limited to 'pdf-over-commons')
-rw-r--r-- | pdf-over-commons/src/main/java/at/asit/pdfover/commons/Constants.java | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |