codeforge-cli 0.1.2 → 0.1.3
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 -1
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -135,7 +135,8 @@ async function main() {
|
|
|
135
135
|
// Construct download URL
|
|
136
136
|
const ext = platform === 'windows' ? 'zip' : 'tar.gz';
|
|
137
137
|
const archiveName = `forge-${platform}-${arch}.${ext}`;
|
|
138
|
-
|
|
138
|
+
// Use 'latest' folder directly (no 'v' prefix)
|
|
139
|
+
const downloadUrl = `${DOWNLOAD_BASE}/${VERSION}/${archiveName}`;
|
|
139
140
|
const archivePath = path.join(LIB_DIR, archiveName);
|
|
140
141
|
|
|
141
142
|
// Download
|