Skip to content

Commit

Permalink
Fixed romsdir env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartondock committed May 5, 2022
1 parent 9e57ec3 commit 59605e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/file-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,9 @@ export class FileParser {
case 'STEAMDIRGLOBAL':
output=data.steamDirectoryGlobal;
break;
case 'ROMSDIRGLOBAL':
output=data.romsDirectoryGlobal;
break;
case 'RETROARCHPATH':
output=data.retroarchPath;
break;
Expand Down Expand Up @@ -802,6 +805,7 @@ export class FileParser {
fuzzyTitle: file.fuzzyTitle,
romDirectory: config.romDirectory,
steamDirectoryGlobal: settings.environmentVariables.steamDirectory,
romsDirectoryGlobal: settings.environmentVariables.romsDirectory,
retroarchPath: settings.environmentVariables.retroarchPath,
raCoresDirectory: settings.environmentVariables.raCoresDirectory,
localImagesDirectory: settings.environmentVariables.localImagesDirectory
Expand Down
1 change: 1 addition & 0 deletions src/models/parser.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export interface ParserVariableData {
finalTitle: string,
filePath: string,
steamDirectoryGlobal: string,
romsDirectoryGlobal: string,
retroarchPath: string,
raCoresDirectory: string,
localImagesDirectory: string
Expand Down

0 comments on commit 59605e5

Please sign in to comment.