@skilltap/core 0.5.3 → 0.5.4
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/src/self-update.ts +1 -1
package/package.json
CHANGED
package/src/self-update.ts
CHANGED
|
@@ -164,7 +164,7 @@ export async function downloadAndInstall(
|
|
|
164
164
|
const buffer = await response.arrayBuffer();
|
|
165
165
|
await Bun.write(tmpPath, buffer);
|
|
166
166
|
await Bun.$`chmod +x ${tmpPath}`.quiet();
|
|
167
|
-
await Bun.$`
|
|
167
|
+
await Bun.$`mv -f ${tmpPath} ${execPath}`.quiet();
|
|
168
168
|
} catch (e) {
|
|
169
169
|
// Clean up temp file if possible
|
|
170
170
|
Bun.$`rm -f ${tmpPath}`.quiet();
|