mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-25 23:06:22 +02:00
Update App.java
This commit is contained in:
committed by
GitHub
parent
4242ceb462
commit
2de2b4a0fa
@@ -116,6 +116,10 @@ public class App {
|
|||||||
Utils.configureLogger();
|
Utils.configureLogger();
|
||||||
logger.info("Initialized ripme v" + UpdateUtils.getThisJarVersion());
|
logger.info("Initialized ripme v" + UpdateUtils.getThisJarVersion());
|
||||||
|
|
||||||
|
if (cl.hasOption('H')) {
|
||||||
|
Utils.setConfigString("history.location", cl.getOptionValue('H'))
|
||||||
|
}
|
||||||
|
|
||||||
//Allow file overwriting
|
//Allow file overwriting
|
||||||
if (cl.hasOption('w')) {
|
if (cl.hasOption('w')) {
|
||||||
Utils.setConfigBoolean("file.overwrite", true);
|
Utils.setConfigBoolean("file.overwrite", true);
|
||||||
@@ -242,10 +246,6 @@ public class App {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cl.hasOption('H')) {
|
|
||||||
String historylocation = cl.getOptionValue('H');
|
|
||||||
}
|
|
||||||
|
|
||||||
//The URL to rip.
|
//The URL to rip.
|
||||||
if (cl.hasOption('u')) {
|
if (cl.hasOption('u')) {
|
||||||
String url = cl.getOptionValue('u').trim();
|
String url = cl.getOptionValue('u').trim();
|
||||||
|
Reference in New Issue
Block a user