mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-04-18 22:22:18 -04:00
Disable legacy packaging to improve performance
Mozilla only enables this due to it being necessary for the Gecko Profiler (https://bugzilla.mozilla.org/show_bug.cgi?id=1865634). We disable the Gecko Profiler at build-time though, so this doesn't apply to us Signed-off-by: celenity <celenity@celenity.dev>
This commit is contained in:
@@ -229,6 +229,11 @@ mkdir -vp app/src/main/assets/wallpapers/dark-dune
|
||||
mkdir -vp app/src/main/assets/wallpapers/dune
|
||||
mkdir -vp app/src/main/assets/wallpapers/firey-red
|
||||
|
||||
# Disable legacy packaging to improve performance
|
||||
## Mozilla only keeps this on for the Gecko Profiler; we disable the Gecko Profiler at build-time, so we don't need to worry about it
|
||||
## https://bugzilla.mozilla.org/show_bug.cgi?id=1865634
|
||||
sed -i -e 's|useLegacyPackaging = .*|useLegacyPackaging = false|g' app/build.gradle
|
||||
|
||||
# Set up target parameters
|
||||
case "$1" in
|
||||
arm)
|
||||
|
||||
Reference in New Issue
Block a user