algomath-extract 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/bin/install.js +3 -3
  2. package/package.json +1 -1
package/bin/install.js CHANGED
@@ -368,9 +368,9 @@ const dest = path.join(commandDir, file);
368
368
 
369
369
  // For any install that needs elevated permissions, use sudo
370
370
  if (needsElevated && !isWindows) {
371
- // Use sudo to copy, then fix ownership
372
- execSync(`sudo cp "${source}" "${dest}"`, { stdio: 'pipe' });
373
- execSync(`sudo chown $(whoami) "${dest}"`, { stdio: 'pipe' });
371
+ // Use sudo to copy (inherit stdio so user sees password prompt), then fix ownership
372
+ execSync(`sudo cp "${source}" "${dest}"`, { stdio: 'inherit' });
373
+ execSync(`sudo chown $(whoami) "${dest}"`, { stdio: 'inherit' });
374
374
  } else {
375
375
  fs.copyFileSync(source, dest);
376
376
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "algomath-extract",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "AlgoMath Framework - Transform AI assistants into reliable mathematical problem-solving environments",
5
5
  "main": "index.js",
6
6
  "bin": {