File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2.0.3 - 2020-04-24
4+
5+ ### Fixed
6+
7+ - Mismatched version between the mod directory and its generated info.json file.
8+
39## 2.0.2 - 2020-04-24
410
511### Fixed
Original file line number Diff line number Diff line change 1717 ConfigAggregator::ENABLE_CACHE => true ,
1818 'debug ' => false ,
1919 'name ' => 'Factorio Item Browser - Export ' ,
20- 'version ' => '2.0.2 '
20+ 'version ' => '2.0.3 '
2121];
Original file line number Diff line number Diff line change @@ -163,14 +163,15 @@ protected function setUpMods(array $modNames): void
163163 */
164164 protected function setupDumpMod (array $ modNames ): void
165165 {
166+ $ modDirectory = sprintf ('mods/Dump_%s ' , $ this ->version );
166167 exec (sprintf (
167168 'cp -r "%s" "%s" ' ,
168169 __DIR__ . '/../../lua/dump ' ,
169- $ this ->getInstancePath (' mods/Dump_1.0.0 ' )
170+ $ this ->getInstancePath ($ modDirectory )
170171 ));
171172
172173 file_put_contents (
173- $ this ->getInstancePath (' mods/Dump_1.0.0/ info.json ' ),
174+ $ this ->getInstancePath (sprintf ( ' %s/ info.json ', $ modDirectory ) ),
174175 $ this ->serializer ->serialize ($ this ->createDumpInfoJson ($ modNames ), 'json ' )
175176 );
176177 }
You can’t perform that action at this time.
0 commit comments