mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Более понятные имена
This commit is contained in:
parent
e1c6775e34
commit
68cb755212
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ public Path process(Path inputFile) throws IOException {
|
||||||
Path toRet = srv.launcherBinary.nextPath("signed");
|
Path toRet = srv.launcherBinary.nextPath("signed");
|
||||||
KeyStore c = SignHelper.getStore(new File(config.keyStore).toPath(), config.keyStorePass, config.keyStoreType);
|
KeyStore c = SignHelper.getStore(new File(config.keyStore).toPath(), config.keyStorePass, config.keyStoreType);
|
||||||
try (SignerJar output = new SignerJar(new ZipOutputStream(IOHelper.newOutput(toRet)), () -> this.gen(c),
|
try (SignerJar output = new SignerJar(new ZipOutputStream(IOHelper.newOutput(toRet)), () -> this.gen(c),
|
||||||
config.manifestFileSfName, config.manifestFileName);
|
config.metaInfSfName, config.metaInfKeyName);
|
||||||
ZipInputStream input = new ZipInputStream(IOHelper.newInput(inputFile))) {
|
ZipInputStream input = new ZipInputStream(IOHelper.newInput(inputFile))) {
|
||||||
//input.getManifest().getMainAttributes().forEach((a, b) -> output.addManifestAttribute(a.toString(), b.toString())); // may not work such as after Radon.
|
//input.getManifest().getMainAttributes().forEach((a, b) -> output.addManifestAttribute(a.toString(), b.toString())); // may not work such as after Radon.
|
||||||
ZipEntry e = input.getNextEntry();
|
ZipEntry e = input.getNextEntry();
|
||||||
|
|
|
@ -233,8 +233,8 @@ public static class JarSignerConf {
|
||||||
public String keyStorePass = "mypass";
|
public String keyStorePass = "mypass";
|
||||||
public String keyAlias = "myname";
|
public String keyAlias = "myname";
|
||||||
public String keyPass = "mypass";
|
public String keyPass = "mypass";
|
||||||
public String manifestFileName = "SIGNUMO.RSA";
|
public String metaInfKeyName = "SIGNUMO.RSA";
|
||||||
public String manifestFileSfName = "SIGNUMO.SF";
|
public String metaInfSfName = "SIGNUMO.SF";
|
||||||
public String signAlgo = "SHA256WITHRSA";
|
public String signAlgo = "SHA256WITHRSA";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue