mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-03 15:46:08 -04:00
Re-add jar compression
A fix for the unpacker will be shipped in pojav
This commit is contained in:
parent
450da75b51
commit
65e4d699bf
@ -14,7 +14,10 @@ mkdir -p $work
|
||||
mkdir -p $work1
|
||||
mkdir -p "$out"
|
||||
|
||||
|
||||
compress_jars(){
|
||||
find ./ -name '*.jar' -execdir pack200 -S-1 -g -G -E9 {}.pack {} \;
|
||||
find ./ -name '*.jar' -execdir rm {} \;
|
||||
}
|
||||
|
||||
# here comes a not-so-complicated functions to easily make desired arch
|
||||
## Usage: makearch [jre_libs_dir_name] [name_in_tarball]
|
||||
@ -73,7 +76,7 @@ makeuni () {
|
||||
rm man/ja_JP.UTF-8/man1/rmid.1
|
||||
rm man/ja_JP.UTF-8/man1/tnameserv.1
|
||||
|
||||
|
||||
compress_jars
|
||||
tar cJf universal.tar.xz * > /dev/null 2>&1;
|
||||
mv universal.tar.xz "$out"/;
|
||||
rm -rf "$work"/*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user