diff --git a/README.md b/README.md index b0d9d2b..a20c255 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ that target this issue and none that are also useful for the average user. ## Installation - Open your terminal and type in `java -version`. -- If the command was not found or the version is below **17**, +- If the command was not found or the version is below **18**, download and install Java for your operating system, e.g. from [here](https://www.azul.com/downloads/?package=jdk-fx#zulu). - Download the jar file of the [latest release](https://github.com/MaxiHuHe04/iTunes-Backup-Explorer/releases/latest) of iTunes Backup Explorer. diff --git a/pom.xml b/pom.xml index 33cf2b0..5b42f2e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 1.5-SNAPSHOT UTF-8 - 17 + 18 @@ -22,17 +22,17 @@ com.googlecode.plist dd-plist - 1.23 + 1.28 org.bouncycastle - bcprov-jdk15on - 1.70 + bcprov-jdk18on + 1.78.1 org.xerial sqlite-jdbc - 3.41.2.2 + 3.46.0.1 org.openjfx diff --git a/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java b/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java index 67bc620..fb40748 100644 --- a/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java +++ b/src/main/java/me/maxih/itunes_backup_explorer/api/BackupFile.java @@ -285,7 +285,7 @@ private void backupOriginal(boolean move) throws IOException { backupName = this.fileID + "." + (++i); } - BinaryPropertyListWriter.write(new File(dir, backupName + ".plist"), this.data.dict); + BinaryPropertyListWriter.write(this.data.dict, new File(dir, backupName + ".plist")); if (this.contentFile != null && this.contentFile.exists()) { if (move)