Skip to content

Commit

Permalink
fix shaders absolute path joins
Browse files Browse the repository at this point in the history
  • Loading branch information
ErBWs committed Jan 16, 2025
1 parent 1ab6a62 commit 3d528b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,9 @@ class Utils {
List<String> absolutePaths = shaders.map((shader) {
return path.join(baseDirectory, shader);
}).toList();
return absolutePaths.join(';');
if (Platform.isWindows) {
return absolutePaths.join(';');
}
return absolutePaths.join(':');
}
}

0 comments on commit 3d528b7

Please sign in to comment.