mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-06-30 19:03:42 -04:00
changeDirectory fix for FX, not sure if works with core.
This commit is contained in:
@ -19,8 +19,7 @@ namespace Examples
|
||||
var name = Path.GetFileNameWithoutExtension(filePath);
|
||||
|
||||
Console.WriteLine("Running example " + filePath);
|
||||
|
||||
ChangeDirectory(filePath);
|
||||
ChangeDirectory(Path.GetDirectoryName(filePath));
|
||||
Type.GetType(name)?.GetMethod("Main")?.Invoke(null, args);
|
||||
|
||||
Console.WriteLine();
|
||||
|
Reference in New Issue
Block a user