blob: d5489628220ae30cb78cce817eecc0b7fe7e4e33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- apps/cli/src/platform/services/cli-platform-utils.service.ts.orig 2025-10-10 16:12:57 UTC
+++ apps/cli/src/platform/services/cli-platform-utils.service.ts
@@ -28,7 +28,7 @@ export class CliPlatformUtilsService implements Platfo
case "darwin":
this.deviceCache = DeviceType.MacOsCLI;
break;
- case "linux":
+ case "linux": case "freebsd":
default:
this.deviceCache = DeviceType.LinuxCLI;
break;
@@ -84,7 +84,7 @@ export class CliPlatformUtilsService implements Platfo
}
launchUri(uri: string, options?: any): void {
- if (process.platform === "linux") {
+ if (process.platform === "linux" || process.platform === "freebsd") {
child_process.spawnSync("xdg-open", [uri]);
} else {
// eslint-disable-next-line no-console
|