def install_overrides(self, destination):
# FIXME: distutils.dir_util.copy_tree seems to keep some internal state when it does its copy.
#
# If the destination directory disappears, copy_tree will not recreate missing path
# components.
#
# In practice this should not be an issue since our script will execute once to install a
# modpack, then exit.
copy_tree(os.path.join(self.unpack_directory, self.manifest["overrides"]), destination)
评论列表
文章目录