@getmonoceros/workbench 1.29.1 → 1.29.2

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/dist/bin.js CHANGED
@@ -5400,7 +5400,9 @@ async function setupWindowsBridge(name, hostAlias, privateKey, deps, logger) {
5400
5400
  }
5401
5401
  const monoDir = path13.join(profile.homeWsl, ".ssh", "monoceros");
5402
5402
  await fs10.mkdir(monoDir, { recursive: true });
5403
- await fs10.copyFile(privateKey, path13.join(monoDir, name));
5403
+ const keyDst = path13.join(monoDir, name);
5404
+ await fs10.rm(keyDst, { force: true });
5405
+ await fs10.copyFile(privateKey, keyDst);
5404
5406
  const keyWin = `${profile.homeWin}\\.ssh\\monoceros\\${name}`;
5405
5407
  await upsertMarkedBlock(
5406
5408
  path13.join(profile.homeWsl, ".ssh", "config"),
@@ -8082,7 +8084,7 @@ var CLI_VERSION;
8082
8084
  var init_version = __esm({
8083
8085
  "src/version.ts"() {
8084
8086
  "use strict";
8085
- CLI_VERSION = true ? "1.29.1" : "dev";
8087
+ CLI_VERSION = true ? "1.29.2" : "dev";
8086
8088
  }
8087
8089
  });
8088
8090