Files
MinecraftForge/install/install.py
T

14 lines
605 B
Python
Raw Permalink Normal View History

2012-08-01 20:35:18 -02:30
import os, os.path, sys
from fml import setup_fml, finish_setup_fml, apply_fml_patches, setup_mcp
2012-08-01 20:35:18 -02:30
def fml_main(fml_dir, mcp_dir, dont_gen_conf=True):
2012-08-01 20:35:18 -02:30
print '================ Forge ModLoader Setup Start ==================='
setup_mcp(fml_dir, mcp_dir, dont_gen_conf)
2012-08-01 20:35:18 -02:30
setup_fml(fml_dir, mcp_dir)
apply_fml_patches(fml_dir, mcp_dir, os.path.join(mcp_dir, 'src'))
2012-08-01 20:35:18 -02:30
finish_setup_fml(fml_dir, mcp_dir)
print '================ Forge ModLoader Setup End ==================='
if __name__ == '__main__':
fml_main(os.path.dirname(os.path.abspath(__file__)), os.path.abspath('..'))