Adjust CustomBiomes to also include its config.xml file

CustomBiomes has a config.xml file that is associated with the mod
itself, not the biome data.

This change has config.xml installed with the mod, *not* its data. This
provides compatibility with newer CustomBiomes releases.
This commit is contained in:
Paul Fenwick 2014-12-23 15:56:38 +11:00
parent d9fa659d6c
commit ddfb5fa6da
4 changed files with 16 additions and 11 deletions

View File

@ -1,5 +1,5 @@
{ {
"spec_version" : 1, "spec_version" : "v1.2",
"name" : "Custom Biomes", "name" : "Custom Biomes",
"identifier" : "CustomBiomes", "identifier" : "CustomBiomes",
"abstract" : "Add or replace biomes to any celestial body in KSP", "abstract" : "Add or replace biomes to any celestial body in KSP",
@ -21,7 +21,12 @@
{ {
"file" : "CustomBiomes", "file" : "CustomBiomes",
"install_to" : "GameData", "install_to" : "GameData",
"filter" : "PluginData" "filter" : [ "PluginData", "Thumbs.db" ]
},
{
"file" : "CustomBiomes/PluginData/CustomBiomes/config.xml",
"install_to" : "GameData/CustomBiomes/PluginData/CustomBiomes",
"comment" : "Config for the mod itself, not the biomes."
} }
] ]
} }

View File

@ -31,7 +31,7 @@
"file": "CustomBiomes", "file": "CustomBiomes",
"install_to": "GameData", "install_to": "GameData",
"comment": "This regexp only installs PluginData, and nothing else", "comment": "This regexp only installs PluginData, and nothing else",
"filter_regexp": "^(?!CustomBiomes/PluginData/)" "filter_regexp": "^(?!CustomBiomes/PluginData/)|config.xml"
} }
], ],
"author": "NathanKell", "author": "NathanKell",
@ -39,4 +39,4 @@
"download": "https://github.com/NathanKell/RealSolarSystem/releases/download/v8.2.1/RealSolarSystem_v8.2.1.zip", "download": "https://github.com/NathanKell/RealSolarSystem/releases/download/v8.2.1/RealSolarSystem_v8.2.1.zip",
"x_generated_by": "netkan", "x_generated_by": "netkan",
"download_size": 221951 "download_size": 221951
} }

View File

@ -31,7 +31,7 @@
"file": "CustomBiomes", "file": "CustomBiomes",
"install_to": "GameData", "install_to": "GameData",
"comment": "This regexp only installs PluginData, and nothing else", "comment": "This regexp only installs PluginData, and nothing else",
"filter_regexp": "^(?!CustomBiomes/PluginData/)" "filter_regexp": "^(?!CustomBiomes/PluginData/)|config.xml"
} }
], ],
"author": "NathanKell", "author": "NathanKell",
@ -39,4 +39,4 @@
"download": "https://github.com/NathanKell/RealSolarSystem/releases/download/v8.3/RealSolarSystem_v8.3.zip", "download": "https://github.com/NathanKell/RealSolarSystem/releases/download/v8.3/RealSolarSystem_v8.3.zip",
"x_generated_by": "netkan", "x_generated_by": "netkan",
"download_size": 917562 "download_size": 917562
} }

View File

@ -1,5 +1,5 @@
{ {
"spec_version" : 1, "spec_version" : "v1.2",
"name" : "Custom Biomes (Stock data)", "name" : "Custom Biomes (Stock data)",
"identifier" : "CustomBiomes-Data-Stock", "identifier" : "CustomBiomes-Data-Stock",
"abstract" : "Custom biomes data for the stock Kerbol system", "abstract" : "Custom biomes data for the stock Kerbol system",
@ -16,10 +16,10 @@
}, },
"install" : [ "install" : [
{ {
"file" : "CustomBiomes", "file" : "CustomBiomes/PluginData/CustomBiomes",
"install_to" : "GameData", "install_to" : "GameData/CustomBiomes/PluginData",
"comment" : "This regexp only installs PluginData, and nothing else", "filter" : [ "config.xml", "Thumbs.db" ],
"filter_regexp" : "^(?!CustomBiomes/PluginData/)" "comment" : "config.xml is bundled with the main mod itself"
} }
] ]
} }