mirror of
https://gitlab.com/Merith-TK/vanillia-modpack.git
synced 2025-07-01 11:56:59 +01:00
restructure pack files
This commit is contained in:
parent
df56136103
commit
b2ce4a27a4
60 changed files with 28 additions and 11 deletions
23
Makefile
23
Makefile
|
@ -17,23 +17,28 @@ default:
|
|||
|
||||
curseforge:
|
||||
@echo "Making Curseforge pack"
|
||||
@-mkdir ../vanillia-curseforge
|
||||
packwiz curseforge export --mods-folder packwiz-data/mods/ --pack-file packwiz-data/pack.toml
|
||||
mv *.zip ../vanillia-curseforge/
|
||||
packwiz curseforge export --pack-file .minecraft/pack.toml -o ../vanillia-curseforge.zip
|
||||
7z d ../vanillia-curseforge.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
|
||||
|
||||
modrinth:
|
||||
@echo "Making Modrinth pack"
|
||||
packwiz modrinth export --pack-file .minecraft/pack.toml -o ../vanillia-modrinth.zip
|
||||
7z d ../vanillia-modrinth.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
|
||||
|
||||
multimc:
|
||||
@echo "Making MultiMC pack"
|
||||
7z d ../vanillia-mulitmc.zip ./* -r
|
||||
7z d ../vanillia-mulitmc.zip ./.* -r
|
||||
7z a ../vanillia-mulitmc.zip ./* -r
|
||||
7z a ../vanillia-mulitmc.zip ./.minecraft -r
|
||||
7z d ../vanillia-multimc.zip ./* -r
|
||||
7z d ../vanillia-multimc.zip ./.minecraft -r
|
||||
7z a ../vanillia-multimc.zip ./* -r
|
||||
7z a ../vanillia-multimc.zip ./.minecraft -r
|
||||
7z d ../vanillia-multimc.zip ./.minecraft/mods ./.minecraft/pack.toml ./.minecraft/index.toml -r
|
||||
|
||||
technic:
|
||||
@echo "Making Technic pack"
|
||||
-rm -rf .technic
|
||||
-cp -r .minecraft .technic
|
||||
mv .technic/vanillia.icon.png .technic/icon.png
|
||||
cd .technic && java -jar packwiz-installer-bootstrap.jar https://gitlab.com/Merith-TK/vanillia-modpack/-/raw/main/packwiz-data/pack.toml && cd ..
|
||||
cd .technic && java -jar packwiz-installer-bootstrap.jar https://gitlab.com/Merith-TK/vanillia-modpack/-/raw/main/.minecraft/pack.toml && cd ..
|
||||
-rm -rf .technic/packwiz*
|
||||
7z d ../vanillia-technic.zip ./* -r
|
||||
7z a ../vanillia-technic.zip ./.technic/* -r
|
||||
|
@ -42,4 +47,4 @@ clean:
|
|||
-rm -rf .technic
|
||||
-git gc --aggressive --prune
|
||||
|
||||
all: curseforge multimc technic clean
|
||||
all: curseforge modrinth multimc technic clean
|
Loading…
Add table
Add a link
Reference in a new issue