kodidevkit.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:KodiDevKit 作者: phil65 项目源码 文件源码
def run(self, pack_textures=True):
        path = INFOS.addon.media_path
        if pack_textures:
            utils.texturepacker(media_path=path,
                                settings=sublime.load_settings(SETTINGS_FILE))
        utils.make_archive(folderpath=path,
                           archive=os.path.join(path, os.path.basename(path) + ".zip"))
        if sublime.ok_cancel_dialog("Zip file created!\nDo you want to show it with a file browser?"):
            webbrowser.open(path)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号