mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
desktop: set signing has to sha256
This commit is contained in:
committed by
Abdullah Atta
parent
fb973a5514
commit
9dac4cf7f4
@@ -135,6 +135,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"signingHashAlgorithms": "sha256",
|
||||||
"sign": "./sign.js",
|
"sign": "./sign.js",
|
||||||
"icon": "assets/icons/app.ico"
|
"icon": "assets/icons/app.ico"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ module.exports = async function (configuration) {
|
|||||||
const Endpoint = "https://weu.codesigning.azure.net";
|
const Endpoint = "https://weu.codesigning.azure.net";
|
||||||
const CodeSigningAccountName = "Notesnook";
|
const CodeSigningAccountName = "Notesnook";
|
||||||
const CertificateProfileName = "Notesnook";
|
const CertificateProfileName = "Notesnook";
|
||||||
const FileDigest = "SHA256";
|
const FileDigest = configuration.hash.toUpperCase();
|
||||||
const TimestampRfc3161 = "http://timestamp.acs.microsoft.com";
|
const TimestampRfc3161 = "http://timestamp.acs.microsoft.com";
|
||||||
const TimestampDigest = "SHA256";
|
const TimestampDigest = configuration.hash.toUpperCase();
|
||||||
const Description = "The Notesnook app";
|
const Description = "The Notesnook app";
|
||||||
const DescriptionUrl = "https://notesnook.com/";
|
const DescriptionUrl = "https://notesnook.com/";
|
||||||
const FilesCatalog = createCatalog(configuration.path);
|
const FilesCatalog = createCatalog(configuration.path);
|
||||||
@@ -35,8 +35,6 @@ module.exports = async function (configuration) {
|
|||||||
|
|
||||||
console.debug("Signing", configuration.path, "using command", command);
|
console.debug("Signing", configuration.path, "using command", command);
|
||||||
|
|
||||||
console.debug("Catalog", readFileSync(FilesCatalog, "utf-8"));
|
|
||||||
|
|
||||||
psexec(command);
|
psexec(command);
|
||||||
|
|
||||||
console.debug("Signed", configuration.path);
|
console.debug("Signed", configuration.path);
|
||||||
|
|||||||
Reference in New Issue
Block a user