mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-08 20:39:44 -05:00
Add additional logging output so user can see exactly where the license file was stored to (i.e. which users user home)
This commit is contained in:
parent
088676ef23
commit
1629352881
@ -178,9 +178,11 @@ public class License {
|
||||
synchronized (License.INSTANCE) {
|
||||
// check if license file is valid and not expired
|
||||
License license = parseLicenseText(psm, true).check();
|
||||
File file = License.FILE.get();
|
||||
|
||||
// write to default license file path
|
||||
Files.write(License.FILE.get().toPath(), psm.getBytes(UTF_8));
|
||||
log.finest(format("Write [%s] to [%s]", license, file));
|
||||
Files.write(file.toPath(), psm.getBytes(UTF_8));
|
||||
|
||||
// clear memoized instance and reload on next access
|
||||
License.INSTANCE.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user