1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Please run sudo -H -u %s filebot --license *.psm to install your FileBot license.

This commit is contained in:
Reinhard Pointner 2018-07-17 14:34:18 +07:00
parent d401ae77bb
commit 284e259d71

View File

@ -42,7 +42,11 @@ public class ArgumentProcessor {
log.severe("License Error: " + e.getMessage()); log.severe("License Error: " + e.getMessage());
if (LICENSE.isFile()) { if (LICENSE.isFile()) {
printStegosaurus("Please purchase a FileBot License:", getPurchaseURL()); printStegosaurus("Please purchase a FileBot License:", getPurchaseURL());
log.severe(format("FileBot requires a valid license. Please run `filebot --license *.psm` as user `%s` to install your FileBot license.", System.getProperty("user.name"))); if (isLinuxApp()) {
log.severe(format("FileBot requires a valid license. Please run `sudo -H -u %s filebot --license *.psm` to install your FileBot license.", System.getProperty("user.name")));
} else {
log.severe(format("FileBot requires a valid license. Please run `filebot --license *.psm` install your FileBot license."));
}
} }
return 2; return 2;
} catch (Throwable e) { } catch (Throwable e) {