codecane 1.0.409 → 1.0.410
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/index.js +2 -13
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -200,6 +200,7 @@ async function downloadBinary(version) {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
+
console.log('Download complete!')
|
|
203
204
|
|
|
204
205
|
term.write('Extracting...')
|
|
205
206
|
|
|
@@ -230,8 +231,7 @@ async function downloadBinary(version) {
|
|
|
230
231
|
)
|
|
231
232
|
}
|
|
232
233
|
|
|
233
|
-
|
|
234
|
-
term.clearLine()
|
|
234
|
+
term.write('Starting Codebuff...')
|
|
235
235
|
} catch (error) {
|
|
236
236
|
term.clearLine()
|
|
237
237
|
console.error(`Extraction failed: ${error.message}`)
|
|
@@ -257,17 +257,6 @@ async function ensureBinaryExists() {
|
|
|
257
257
|
process.exit(1)
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
|
|
261
|
-
// Verify binary is executable (Unix only)
|
|
262
|
-
if (process.platform !== 'win32') {
|
|
263
|
-
try {
|
|
264
|
-
fs.accessSync(CONFIG.binaryPath, fs.constants.X_OK)
|
|
265
|
-
} catch (error) {
|
|
266
|
-
console.error(`❌ Binary is not executable: ${CONFIG.binaryPath}`)
|
|
267
|
-
console.error('Run: chmod +x', CONFIG.binaryPath)
|
|
268
|
-
process.exit(1)
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
260
|
}
|
|
272
261
|
|
|
273
262
|
async function checkForUpdates(runningProcess, exitListener) {
|