mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-01 22:14:01 +03:00
Try to fix #72.
This commit is contained in:
parent
591bdea6f4
commit
9d4413ef84
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ public class SignerJar implements AutoCloseable {
|
|||
/**
|
||||
* Helper output stream that also sends the data to the given {@link com.google.common.hash.Hasher}.
|
||||
*/
|
||||
private static class HashingOutputStream extends OutputStream {
|
||||
static class HashingOutputStream extends OutputStream {
|
||||
private final OutputStream out;
|
||||
private final MessageDigest hasher;
|
||||
|
||||
|
@ -132,7 +132,7 @@ private static MessageDigest hasher() {
|
|||
private final String keyAlias;
|
||||
|
||||
private final String password;
|
||||
private final Map<String, String> manifestAttributes;
|
||||
public final Map<String, String> manifestAttributes;
|
||||
private String manifestHash;
|
||||
private String manifestMainHash;
|
||||
|
||||
|
@ -241,7 +241,7 @@ public void addFileContents(ZipEntry entry, InputStream contents) throws IOExcep
|
|||
* @param value value of the attribute
|
||||
*/
|
||||
public void addManifestAttribute(String name, String value) {
|
||||
manifestAttributes.put(name, value);
|
||||
manifestAttributes.put(name.trim(), value.trim());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue