diff --git a/LANCommander.Playnite.Extension/PlayniteLibraryPlugin.cs b/LANCommander.Playnite.Extension/PlayniteLibraryPlugin.cs index 2127180..443274d 100644 --- a/LANCommander.Playnite.Extension/PlayniteLibraryPlugin.cs +++ b/LANCommander.Playnite.Extension/PlayniteLibraryPlugin.cs @@ -200,7 +200,7 @@ namespace LANCommander.PlaynitePlugin Name = action.Name, Arguments = action.Arguments, Path = PlayniteApi.ExpandGameVariables(game, action.Path), - WorkingDir = action.WorkingDirectory ?? game.InstallDirectory, + WorkingDir = action.WorkingDirectory.Replace('/', Path.DirectorySeparatorChar) ?? game.InstallDirectory, IsPlayAction = action.IsPrimaryAction || isFirstAction }); }