sshifu 0.7.8-test.7 → 0.7.8-test.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sshifu",
3
- "version": "0.7.8-test.7",
3
+ "version": "0.7.8-test.8",
4
4
  "description": "SSH authentication system with short-lived certificates and OAuth authentication (GitHub organizations)",
5
5
  "main": "bin/sshifu.js",
6
6
  "bin": {
@@ -90,6 +90,9 @@ async function main() {
90
90
  try {
91
91
  await download(archiveUrl, archivePath);
92
92
 
93
+ // Small delay to ensure file handle is released
94
+ await new Promise(resolve => setTimeout(resolve, 500));
95
+
93
96
  // Extract the archive
94
97
  console.log(`[sshifu] Extracting...`);
95
98
  const archiveBinName = `${PACKAGE_NAME}-${platform}${isWindows ? '.exe' : ''}`;