Skip to content

Commit

Permalink
Rebuild frontend on plugin download
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrench56 committed Jul 16, 2024
1 parent 677393d commit 0ed138e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/plugins/downloader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Optional

from plugins import dependencies, handler, priority, unpack, validate
from server import build
from utils.const import PLUGINS_DOWNLOAD

import logging
Expand Down Expand Up @@ -42,6 +43,8 @@ def from_url(url: str) -> bool:
if not dependencies.node(name):
unpack.revert(name)
return False

build.build_frontend()
except Exception as e:
unpack.revert(name)
raise e
Expand Down

0 comments on commit 0ed138e

Please sign in to comment.