From ddfb5fa6da8d063bc3efdf5fd8808a122a892831 Mon Sep 17 00:00:00 2001 From: Paul Fenwick Date: Tue, 23 Dec 2014 15:56:38 +1100 Subject: [PATCH] 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. --- CustomBiomes-1.6.8.ckan | 9 +++++++-- CustomBiomes-Data-RSS-v8.2.1.ckan | 4 ++-- CustomBiomes-Data-RSS-v8.3.ckan | 4 ++-- CustomBiomes-Data-Stock.ckan | 10 +++++----- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/CustomBiomes-1.6.8.ckan b/CustomBiomes-1.6.8.ckan index 37e98d099d..e6637d37b0 100644 --- a/CustomBiomes-1.6.8.ckan +++ b/CustomBiomes-1.6.8.ckan @@ -1,5 +1,5 @@ { - "spec_version" : 1, + "spec_version" : "v1.2", "name" : "Custom Biomes", "identifier" : "CustomBiomes", "abstract" : "Add or replace biomes to any celestial body in KSP", @@ -21,7 +21,12 @@ { "file" : "CustomBiomes", "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." } ] } diff --git a/CustomBiomes-Data-RSS-v8.2.1.ckan b/CustomBiomes-Data-RSS-v8.2.1.ckan index de2b981952..2b3815c5c6 100644 --- a/CustomBiomes-Data-RSS-v8.2.1.ckan +++ b/CustomBiomes-Data-RSS-v8.2.1.ckan @@ -31,7 +31,7 @@ "file": "CustomBiomes", "install_to": "GameData", "comment": "This regexp only installs PluginData, and nothing else", - "filter_regexp": "^(?!CustomBiomes/PluginData/)" + "filter_regexp": "^(?!CustomBiomes/PluginData/)|config.xml" } ], "author": "NathanKell", @@ -39,4 +39,4 @@ "download": "https://github.com/NathanKell/RealSolarSystem/releases/download/v8.2.1/RealSolarSystem_v8.2.1.zip", "x_generated_by": "netkan", "download_size": 221951 -} \ No newline at end of file +} diff --git a/CustomBiomes-Data-RSS-v8.3.ckan b/CustomBiomes-Data-RSS-v8.3.ckan index f2ec3ccd47..67e58b1b3d 100644 --- a/CustomBiomes-Data-RSS-v8.3.ckan +++ b/CustomBiomes-Data-RSS-v8.3.ckan @@ -31,7 +31,7 @@ "file": "CustomBiomes", "install_to": "GameData", "comment": "This regexp only installs PluginData, and nothing else", - "filter_regexp": "^(?!CustomBiomes/PluginData/)" + "filter_regexp": "^(?!CustomBiomes/PluginData/)|config.xml" } ], "author": "NathanKell", @@ -39,4 +39,4 @@ "download": "https://github.com/NathanKell/RealSolarSystem/releases/download/v8.3/RealSolarSystem_v8.3.zip", "x_generated_by": "netkan", "download_size": 917562 -} \ No newline at end of file +} diff --git a/CustomBiomes-Data-Stock.ckan b/CustomBiomes-Data-Stock.ckan index 934f51af82..2519c5c6f5 100644 --- a/CustomBiomes-Data-Stock.ckan +++ b/CustomBiomes-Data-Stock.ckan @@ -1,5 +1,5 @@ { - "spec_version" : 1, + "spec_version" : "v1.2", "name" : "Custom Biomes (Stock data)", "identifier" : "CustomBiomes-Data-Stock", "abstract" : "Custom biomes data for the stock Kerbol system", @@ -16,10 +16,10 @@ }, "install" : [ { - "file" : "CustomBiomes", - "install_to" : "GameData", - "comment" : "This regexp only installs PluginData, and nothing else", - "filter_regexp" : "^(?!CustomBiomes/PluginData/)" + "file" : "CustomBiomes/PluginData/CustomBiomes", + "install_to" : "GameData/CustomBiomes/PluginData", + "filter" : [ "config.xml", "Thumbs.db" ], + "comment" : "config.xml is bundled with the main mod itself" } ] }