@vscode/vsce 2.26.2-2 → 2.26.2-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/package.js +2 -2
- package/package.json +1 -1
package/out/package.js
CHANGED
|
@@ -1350,7 +1350,7 @@ async function pack(options = {}) {
|
|
|
1350
1350
|
return { manifest, packagePath, files };
|
|
1351
1351
|
}
|
|
1352
1352
|
exports.pack = pack;
|
|
1353
|
-
async function signPackage(packageFile,
|
|
1353
|
+
async function signPackage(packageFile, signTool) {
|
|
1354
1354
|
const packageFolder = path.dirname(packageFile);
|
|
1355
1355
|
const packageName = path.basename(packageFile, '.vsix');
|
|
1356
1356
|
const manifestFile = path.join(packageFolder, `${packageName}.signature.manifest`);
|
|
@@ -1359,7 +1359,7 @@ async function signPackage(packageFile, signScript) {
|
|
|
1359
1359
|
// Generate the signature manifest file
|
|
1360
1360
|
await (0, vsce_sign_1.generateManifest)(packageFile, manifestFile);
|
|
1361
1361
|
// Sign the manifest file to generate the signature file
|
|
1362
|
-
cp.
|
|
1362
|
+
cp.execSync(`${signTool} "${manifestFile}" "${signatureFile}"`, { stdio: 'inherit' });
|
|
1363
1363
|
// Create a signature zip file containing the manifest and signature file
|
|
1364
1364
|
return (0, vsce_sign_1.zip)(manifestFile, signatureFile, signatureZip);
|
|
1365
1365
|
}
|