@rudderhq/cli 0.1.0-canary.12 → 0.1.0-canary.14

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/index.js CHANGED
@@ -10344,16 +10344,19 @@ async function installPortableDesktop(installerPath, paths, target) {
10344
10344
  await extractZip(installerPath, extractDir, target);
10345
10345
  if (target.platform === "macos") {
10346
10346
  const appSource2 = await findMacApp(extractDir);
10347
- await cp(appSource2, paths.appPath, { recursive: true });
10347
+ await copyPortableAppBundle(appSource2, paths.appPath);
10348
10348
  return;
10349
10349
  }
10350
10350
  const appSource = await findWindowsAppDir(extractDir);
10351
10351
  await mkdir(path9.dirname(paths.installRoot), { recursive: true });
10352
- await cp(appSource, paths.installRoot, { recursive: true });
10352
+ await copyPortableAppBundle(appSource, paths.installRoot);
10353
10353
  } finally {
10354
10354
  await rm(extractDir, { recursive: true, force: true });
10355
10355
  }
10356
10356
  }
10357
+ async function copyPortableAppBundle(sourcePath, destinationPath) {
10358
+ await cp(sourcePath, destinationPath, { recursive: true, verbatimSymlinks: true });
10359
+ }
10357
10360
  async function removeMacQuarantine(paths, target) {
10358
10361
  if (target.platform !== "macos") return;
10359
10362
  const result = spawnSync2("xattr", ["-dr", "com.apple.quarantine", paths.appPath], { stdio: "ignore" });
@@ -19567,7 +19570,7 @@ var DATA_DIR_OPTION_HELP = "Rudder data directory root (isolates state from ~/.r
19567
19570
  var LOCAL_ENV_OPTION_HELP = "Local environment profile (dev, prod_local, e2e)";
19568
19571
  function createProgram() {
19569
19572
  const program = new Command();
19570
- program.name("rudder").description("Rudder CLI \u2014 setup, diagnose, and configure your instance").version("0.1.0-canary.12");
19573
+ program.name("rudder").description("Rudder CLI \u2014 setup, diagnose, and configure your instance").version("0.1.0-canary.14");
19571
19574
  program.option("--local-env <name>", LOCAL_ENV_OPTION_HELP);
19572
19575
  program.hook("preAction", (_thisCommand, actionCommand) => {
19573
19576
  const options = actionCommand.optsWithGlobals();