Skip to content

Commit

Permalink
fix part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 21, 2024
1 parent ab8683d commit a1917cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public byte[] apply(String s) {
try(InputStream is = Files.newInputStream(path)) {
Manifest manifest = new Manifest(is);
Attributes attr = manifest.getMainAttributes();
attr.put("JvmDowngrader-Version", Flags.jvmdgVersion);
attr.putValue("JvmDowngrader-Version", Flags.jvmdgVersion);

try (OutputStream os = Files.newOutputStream(outFile, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) {
manifest.write(os);
Expand Down

0 comments on commit a1917cb

Please sign in to comment.