提交 01e2e561 编写于 作者: G gagallo7 提交者: GitHub

Allow PakBlacklist-*.txt files inside Build dir

The PakBlacklist-<BuildConfiguration>.txt is used to disallow some files to be packaged in the pak file.
This can be very helpful to reduce pak file size for mobile platforms.

To avoid the user-defined blueprint class Debug.uasset located in Content/Blueprints folder to be packaged in shipping build, one has to do the following steps:
1. Create the PakBlacklist-Shipping.txt file in Build/Android directory.
2. Insert the content "../../../MyGameName/Blueprints/Debug.uasset
3. Package the game

Source: https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/#packageblacklist
上级 14895519
...@@ -54,6 +54,11 @@ Binaries/* ...@@ -54,6 +54,11 @@ Binaries/*
# Builds # Builds
Build/* Build/*
# Whitelist PakBlacklist-<BuildConfiguration>.txt files
!Build/*/
Build/*/**
!Build/*/PakBlacklist*.txt
# Don't ignore icon files in Build # Don't ignore icon files in Build
!Build/**/*.ico !Build/**/*.ico
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册