Skip to content

Commit 1a25bff

Browse files
draft embed shit
1 parent b61383e commit 1a25bff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lime/tools/AssetHelper.hx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class AssetHelper
2121
private static var DEFAULT_LIBRARY_NAME = "default";
2222
private static var knownExtensions:Map<String, AssetType>;
2323

24+
public static var EMBEDMANIFEST:Bool = false; // it can work if true, it just so happens that stuff like vlc might crash the thing cos it registers as being in the assets folder
25+
2426
private static function __init__():Void
2527
{
2628
knownExtensions = [
@@ -588,9 +590,11 @@ class AssetHelper
588590

589591
asset = new Asset("", "manifest/" + library.name + ".json", AssetType.MANIFEST);
590592

591-
if (embed)
593+
if (embed || EMBEDMANIFEST)
592594
{
593595
asset.embed = true;
596+
597+
594598
}
595599
else
596600
{

0 commit comments

Comments
 (0)