codecane 1.0.282 → 1.0.283
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/scripts/postinstall.js +2 -2
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -18,7 +18,7 @@ if (process.env.CODECANE_INSTALL_TYPE !== 'deploy') {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
// This placeholder will be replaced during deploy with the actual download base URL
|
|
21
|
-
const baseURL = `https://claudecodebuff.com
|
|
21
|
+
const baseURL = `https://claudecodebuff.com`;
|
|
22
22
|
|
|
23
23
|
const platform = os.platform(); // darwin | linux | win32
|
|
24
24
|
const arch = os.arch(); // x64 | arm64
|
|
@@ -26,7 +26,7 @@ const isWin = platform === "win32";
|
|
|
26
26
|
const ext = isWin ? "zip" : "tar.gz";
|
|
27
27
|
const binary = isWin ? "codecane.exe" : "codecane";
|
|
28
28
|
|
|
29
|
-
const url = `${baseURL}/codecane-${platform}-${arch}.${ext}`;
|
|
29
|
+
const url = `${baseURL}/api/${version}/codecane-${platform}-${arch}.${ext}`;
|
|
30
30
|
const destDir = path.join(__dirname, "../bin");
|
|
31
31
|
const destPath = path.join(destDir, binary);
|
|
32
32
|
|