From 3b11c4ba3a4b8b88874edfdf8cf1b3599c03fabe Mon Sep 17 00:00:00 2001 From: Li Date: Mon, 29 Jan 2024 17:15:11 +0700 Subject: [PATCH] v2: Re-use Forge ID to allow mod downloader on MMC launcher type variant --- main.py | 2 +- template/template.zip | Bin 4757 -> 4805 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f5f8918..5f5bbe9 100644 --- a/main.py +++ b/main.py @@ -66,7 +66,7 @@ # Create patch file for Cleanroom print('---> Create patch file for Cleanroom') -cleanroom_patches_output_path = os.path.join(output_path, 'patches', 'com.cleanroommc.json') +cleanroom_patches_output_path = os.path.join(output_path, 'patches', 'net.minecraftforge.json') installer_patches_path = os.path.join(cache_path, 'installer', 'version.json') with (open(installer_patches_path, 'r') as __in, diff --git a/template/template.zip b/template/template.zip index afc4e9f6507ea2fe2b933e682dce8af49b8bb659..47cba20fae2795621891ba5d936ee7e4d48af74b 100644 GIT binary patch literal 4805 zcmai2by!r}`ktX*SR`EbM=u3pzrN%WFyAjVFd&L4sZYf(A6pu<>qdQ zg26>#2pf1(r&c!v6t))-bsIPbbQ!W_q?(&C#wU8qdpxILWfXUFb3VC|x-i$bTwbRA ziOj5IPmm0>JM0eO*6kdxIi}Q*-n2p-6aQTqan&yRQ+?2L``Rk~hAh01h24IEv1wV@ zMyFMIRrGq(WaEz1J#6M7Je~B-pbeh9K3eCoviYNq4`S{Ji8oH*@f(>_nio+lGQNsZ zMa)R@NC$hZWiGlFH)C~b&DxC;su$3$8_0Bb#*a0b735{Y?-3+A0u;hz3S$k#4N*C1&L=m4I5|X? zGTE&{zUO?N4MOl84*ScI*5VSR1rk4M*p#DiefTh7kmc>yw+HxL7~d3<^&YA)o0t8s zWh$^|IJt1&p2c_GL2EDfDLm?=v|clI?wk5-*1koD9iwD%h~2;uw1?3;hWquuKmM~8 z$q{nK(dJK2fLFCx!36-WUDd+T5hnbjf+BWqPN*u~A-iq}#p^S{n74{w$IZV1g;N?r zS?BIx6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