Initial other project types support
This commit is contained in:
parent
9dbc2b3666
commit
17d02bd27c
2 changed files with 16 additions and 4 deletions
4
mcfs.py
4
mcfs.py
|
|
@ -36,9 +36,9 @@ def is_path_exist(path:str):
|
|||
def is_standart_dir_structure():
|
||||
return not os.path.exists(os.path.join(directory, "home"))
|
||||
|
||||
def install(filename):
|
||||
def install(filename, subdir:str):
|
||||
shutil.copy2(os.path.join(cache_dir,filename),\
|
||||
os.path.join(mc_dir,"mods",filename))
|
||||
os.path.join(mc_dir,subdir,filename))
|
||||
|
||||
mc_dir = __get_mc_dir()
|
||||
cache_dir = __get_cache_dir()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue