Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 98985c3

Browse files
committed
Merge branch 'hotfix/0.3.4'
2 parents cbb7d8f + 9695a6e commit 98985c3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.nincraft</groupId>
55
<artifactId>ModPackDownloader</artifactId>
6-
<version>0.3.3</version>
6+
<version>0.3.4</version>
77
<name>Mod Pack Downloader</name>
88
<packaging>jar</packaging>
99
<properties>

src/main/java/com/nincraft/modpackdownloader/ModPackDownloader.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public static void main(final String[] args) throws InterruptedException {
3333
// Set default application arguments
3434
defaultArguments();
3535

36+
setupRepo();
37+
3638
if (Arguments.clearCache) {
3739
FileSystemHelper.clearCache();
3840
return;
@@ -41,9 +43,6 @@ public static void main(final String[] args) throws InterruptedException {
4143
ApplicationUpdateHandler.update();
4244
return;
4345
}
44-
45-
setupRepo();
46-
4746
if (Arguments.updateCurseModPack && ModPackManager.updateModPack()) {
4847
ModPackManager.checkPastForgeVersion();
4948
ModPackManager.handlePostDownload();

src/main/java/com/nincraft/modpackdownloader/util/FileSystemHelper.java

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public static File getDownloadedFile(String fileName, String folder) {
8080

8181
public static void clearCache() {
8282
File cache = new File(Reference.userhome);
83+
log.info("Clearing cache at {}", Reference.userhome);
8384
try {
8485
FileUtils.deleteDirectory(cache);
8586
} catch (IOException e) {

0 commit comments

Comments
 (0)