diff --git a/requirements.txt b/requirements.txt index 98b06c2..4d6e3fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -https://github.com/AmoreForever/Shizu-Pyro/archive/dev.zip +https://github.com/KurimuzonAkuma/pyrogram/archive/refs/heads/dev.zip telethon aiogram==2.25.1 aiohttp_jinja2==1.5 diff --git a/shizu/main.py b/shizu/main.py index 6a4a7ac..c8bd8a7 100644 --- a/shizu/main.py +++ b/shizu/main.py @@ -30,20 +30,6 @@ async def main(): """Main function""" - if pyrogram.__version__ != "2.0.106.21": - logging.info("Installing shizu-pyrogram...") - - subprocess.run( - "pip install https://github.com/AmoreForever/Shizu-Pyro/archive/dev.zip --force-reinstall", - shell=True, - check=True, - ) - - logging.info("Successfully installed shizu-pyrogram!") - logging.info("Restarting...") - - return utils.restart() - me, app, tapp = await auth.Auth().authorize() await app.initialize()