Changes between Initial Version and Version 1 of Ticket #6622
- Timestamp:
- Sep 25, 2022, 8:31:13 PM (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6622 – Description
initial v1 1 1 If the name field in mod.json is "foo-bar" but the mod directory is "foo_bar" or "foo-bar-1.0", then someone attempting to join from the lobby receives an incompatibility message and cannot join. 2 2 3 When 0ad installs mods from mod.io, mod.io will convert underscores (_) to hyphens (-). 3 Some things that are likely to cause this: 4 5 * If the repo is named "foo_bar" but the name field is "foo-bar" 6 * When the repo name is "foo-bar" and the mod name is "foo-bar" (correct), and someone downloads the zip from the repo home page, which is a snapshot of the repo root, when they unzip the archive, the parent directory would be something like "foo-bar-main" (the branch name appended). 4 7 5 8 The workaround to prevent the incompatibility message is to make sure your mod name doesn't use underscores and the mod directory is exactly the same as what's in the name field in mod.json.