Allow game variables in working dir parameter
This commit is contained in:
parent
b52ee7e6de
commit
47d0fa1d93
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ namespace LANCommander.PlaynitePlugin
|
|||
Name = action.Name,
|
||||
Arguments = action.Arguments,
|
||||
Path = PlayniteApi.ExpandGameVariables(game, action.Path?.Replace('/', Path.DirectorySeparatorChar)),
|
||||
WorkingDir = action.WorkingDirectory?.Replace('/', Path.DirectorySeparatorChar) ?? game.InstallDirectory,
|
||||
WorkingDir = PlayniteApi.ExpandGameVariables(game, action.WorkingDirectory?.Replace('/', Path.DirectorySeparatorChar) ?? game.InstallDirectory),
|
||||
IsPlayAction = action.IsPrimaryAction || isFirstAction
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue