Skip to content

Commit cc158a9

Browse files
committed
Add minimum GDevelop version for examples with 3D physics
1 parent caf21ff commit cc158a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/generate-database.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,11 @@ const extractExamples = async (
427427
),
428428
license: fileWithMetadata.license,
429429
projectFileUrl: getResourceUrl(fileWithMetadata.path),
430-
gdevelopVersion: '', //TODO: set to the GDevelop version used to author the example?
430+
gdevelopVersion: usedExtensions
431+
.map((exampleUsedExtension) => exampleUsedExtension.name)
432+
.includes('Physics3D')
433+
? '5.5.200'
434+
: '', //TODO: set to the GDevelop version used to author the example?
431435
};
432436

433437
return example;

0 commit comments

Comments
 (0)