snow-flow 9.0.176 → 9.0.178
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 +1 -1
- package/postinstall.cjs +3 -8
package/package.json
CHANGED
package/postinstall.cjs
CHANGED
|
@@ -124,14 +124,9 @@ async function downloadBinary() {
|
|
|
124
124
|
const tarballPath = path.join(tmpDir, tarballName);
|
|
125
125
|
fs.writeFileSync(tarballPath, tarballData);
|
|
126
126
|
|
|
127
|
-
//
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// Extract using tar command
|
|
133
|
-
console.log('Extracting binary...');
|
|
134
|
-
execSync(`tar -xzf "${tarballPath}" -C "${binDir}" --strip-components=1`, { stdio: 'pipe' });
|
|
127
|
+
// Extract using tar command (extracts bin/ and bundled-skills/ to packageDir)
|
|
128
|
+
console.log('Extracting binary and bundled skills...');
|
|
129
|
+
execSync(`tar -xzf "${tarballPath}" -C "${packageDir}"`, { stdio: 'pipe' });
|
|
135
130
|
|
|
136
131
|
// Clean up
|
|
137
132
|
fs.unlinkSync(tarballPath);
|