From 86ab36028ea6c0f77b068dbb952f2eca391409c3 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 11 Jun 2018 00:45:42 +0700 Subject: [PATCH] Experiment with PGP signed messages --- source/net/filebot/cli/CmdlineOperations.java | 2 ++ source/net/filebot/ui/rename/RenameAction.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/source/net/filebot/cli/CmdlineOperations.java b/source/net/filebot/cli/CmdlineOperations.java index 0c3488be..ce3bd859 100644 --- a/source/net/filebot/cli/CmdlineOperations.java +++ b/source/net/filebot/cli/CmdlineOperations.java @@ -576,6 +576,8 @@ public class CmdlineOperations implements CmdlineInterface { throw new CmdlineException("Failed to identify or process any files"); } + LICENSE.check(); + // rename files Map renameLog = new LinkedHashMap(); diff --git a/source/net/filebot/ui/rename/RenameAction.java b/source/net/filebot/ui/rename/RenameAction.java index 31d2cf8b..ef4792be 100644 --- a/source/net/filebot/ui/rename/RenameAction.java +++ b/source/net/filebot/ui/rename/RenameAction.java @@ -73,6 +73,8 @@ class RenameAction extends AbstractAction { return; } + LICENSE.check(); + List> matches = new ArrayList>(model.matches()); StandardRenameAction action = (StandardRenameAction) getValue(RENAME_ACTION);