Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Saschl authored Sep 30, 2024
1 parent 891de1a commit f8e9e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/components/LocalApiConfigEditUI/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import path from 'path';
import { Directories } from 'renderer/utils/Directories';
import { Toggle } from '../Toggle';

const SIMBRIDGE_DIRECTORY = 'flybywire-externaltools-simbridge';
const SIMBRIDGE_DIRECTORY = '/flybywire-externaltools-simbridge';

interface LocalApiConfiguration {
server: {
Expand Down Expand Up @@ -42,7 +42,7 @@ class LocalApiConfigurationHandler {
}

private static get simbridgeConfigPath(): string {
return path.join(homedir(), 'resources', 'properties.json');
return path.join(homedir(), SIMBRIDGE_DIRECTORY, 'resources', 'properties.json');
}

static getConfiguration(): LocalApiConfiguration {
Expand Down

0 comments on commit f8e9e90

Please sign in to comment.