mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Add package entry for platform-dictionaries
on my life this is the *LAST* time we are doing this - i didn't get time to implement a remote config package map system
This commit is contained in:
parent
2c70430dfa
commit
749a8d6f3a
@ -32,6 +32,7 @@ namespace Bloxstrap.AppData
|
|||||||
{ "content-textures3.zip", @"PlatformContent\pc\textures\" },
|
{ "content-textures3.zip", @"PlatformContent\pc\textures\" },
|
||||||
{ "content-terrain.zip", @"PlatformContent\pc\terrain\" },
|
{ "content-terrain.zip", @"PlatformContent\pc\terrain\" },
|
||||||
{ "content-platform-fonts.zip", @"PlatformContent\pc\fonts\" },
|
{ "content-platform-fonts.zip", @"PlatformContent\pc\fonts\" },
|
||||||
|
{ "content-platform-dictionaries.zip", @"PlatformContent\pc\shared_compression_dictionaries\" },
|
||||||
|
|
||||||
{ "extracontent-luapackages.zip", @"ExtraContent\LuaPackages\" },
|
{ "extracontent-luapackages.zip", @"ExtraContent\LuaPackages\" },
|
||||||
{ "extracontent-translations.zip", @"ExtraContent\translations\" },
|
{ "extracontent-translations.zip", @"ExtraContent\translations\" },
|
||||||
|
@ -1193,7 +1193,15 @@ namespace Bloxstrap
|
|||||||
{
|
{
|
||||||
const string LOG_IDENT = "Bootstrapper::ExtractPackage";
|
const string LOG_IDENT = "Bootstrapper::ExtractPackage";
|
||||||
|
|
||||||
string packageFolder = Path.Combine(AppData.Directory, AppData.PackageDirectoryMap[package.Name]);
|
string? packageDir = AppData.PackageDirectoryMap.GetValueOrDefault(package.Name);
|
||||||
|
|
||||||
|
if (packageDir is null)
|
||||||
|
{
|
||||||
|
App.Logger.WriteLine(LOG_IDENT, $"WARNING: {package.Name} was not found in the package map!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
string packageFolder = Path.Combine(AppData.Directory, packageDir);
|
||||||
string? fileFilter = null;
|
string? fileFilter = null;
|
||||||
|
|
||||||
// for sharpziplib, each file in the filter needs to be a regex
|
// for sharpziplib, each file in the filter needs to be a regex
|
||||||
|
Loading…
Reference in New Issue
Block a user