main.py 文件源码

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

项目:cozy 作者: geigi 项目源码 文件源码
def do_activate(self):
        self.ui.activate()

        if Settings.get().first_start:
            Settings.update(first_start=False).execute()
            path = str(Path.home()) + "/Audiobooks"
            Settings.update(path=str(Path.home()) + "/Audiobooks").execute()

            if not os.path.exists(path):
                os.makedirs(path)
            else:
                self.ui.scan(None, True)
                self.ui.refresh_content()

        self.add_window(self.ui.window)
        MPRIS(self, self.ui)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号