comparison src/name/blackcap/clipman/Files.kt @ 63:8c6d6ad92aa1 last-old-threading

Commit most recent changes.
author David Barts <n5jrn@me.com>
date Sun, 12 Jan 2025 10:22:05 -0800
parents 88056f373a94
children
comparison
equal deleted inserted replaced
62:c56a0747c256 63:8c6d6ad92aa1
53 OS.WINDOWS -> joinPath(System.getenv("LOCALAPPDATA"), LONGNAME) 53 OS.WINDOWS -> joinPath(System.getenv("LOCALAPPDATA"), LONGNAME)
54 else -> joinPath(HOME, "." + SHORTNAME) 54 else -> joinPath(HOME, "." + SHORTNAME)
55 } 55 }
56 val PROP_FILE = File(PF_DIR, SHORTNAME + ".properties") 56 val PROP_FILE = File(PF_DIR, SHORTNAME + ".properties")
57 val LOG_FILE = File(LF_DIR, SHORTNAME + ".log") 57 val LOG_FILE = File(LF_DIR, SHORTNAME + ".log")
58 val ERR_FILE = File(LF_DIR, SHORTNAME + ".err")
58 59
59 /* make some needed directories */ 60 /* make some needed directories */
60 61
61 private fun File.makeIfNeeded() = if (exists()) { true } else { mkdirs() } 62 private fun File.makeIfNeeded() = if (exists()) { true } else { mkdirs() }
62 63