Skip to content

Commit

Permalink
Start Windows CRC executable path with upper case drive-letter
Browse files Browse the repository at this point in the history
 - Due to a strict check of a `hidden_daemon.ps1` file content during `crc setup` on `crc` side there is an error when initializing the CRC in podman desktop. This change should align the default windows `crc` executable location with this strict check
 - fixes #175

Signed-off-by: Ondrej Dockal <odockal@redhat.com>
  • Loading branch information
odockal authored and anjannath committed Sep 25, 2023
1 parent 571f6db commit c9f46e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crc-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import type { Logger } from '@podman-desktop/api';
import type { Preset } from './types';

const macosExtraPath = '/usr/local/bin:/opt/local/bin';
const crcWindowsInstallPath = 'c:\\Program Files\\Red Hat OpenShift Local';
const crcWindowsInstallPath = 'C:\\Program Files\\Red Hat OpenShift Local';

export function getInstallationPath(): string {
const env = process.env;
Expand Down

0 comments on commit c9f46e1

Please sign in to comment.