ramorie 2.2.2 → 2.3.0

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/package.json +1 -1
  2. package/postinstall.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ramorie",
3
- "version": "2.2.2",
3
+ "version": "2.3.0",
4
4
  "description": "AI-powered task and memory management CLI",
5
5
  "homepage": "https://ramorie.com",
6
6
  "repository": {
package/postinstall.js CHANGED
@@ -97,13 +97,13 @@ async function main() {
97
97
  console.log(' Extracting...');
98
98
  const extractedBinary = isWindows ? 'ramorie.exe' : 'ramorie';
99
99
  const extractedPath = path.join(tempDir, extractedBinary);
100
-
100
+
101
101
  if (isWindows) {
102
102
  execSync(`powershell -command "Expand-Archive -Path '${tempFile}' -DestinationPath '${tempDir}' -Force"`, { stdio: 'pipe' });
103
103
  } else {
104
104
  execSync(`tar -xzf "${tempFile}" -C "${tempDir}"`, { stdio: 'pipe' });
105
105
  }
106
-
106
+
107
107
  // Move only the binary to bin/ with new name
108
108
  if (fs.existsSync(extractedPath)) {
109
109
  fs.renameSync(extractedPath, binaryPath);