diff --git a/config/config.exs b/config/config.exs index f4915a909..827b85f26 100644 --- a/config/config.exs +++ b/config/config.exs @@ -735,8 +735,7 @@ "pleroma-fe" => %{ "name" => "pleroma-fe", "git" => "https://akkoma.dev/AkkomaGang/pleroma-fe", - "build_url" => - "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip", + "build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip", "ref" => "develop", "build_dir" => "dist" }, diff --git a/lib/pleroma/frontend.ex b/lib/pleroma/frontend.ex index cc0b47077..c9e51bdc1 100644 --- a/lib/pleroma/frontend.ex +++ b/lib/pleroma/frontend.ex @@ -33,6 +33,7 @@ def install(name, opts \\ []) do label = "#{name} (#{ref})" tmp_dir = Path.join(dir(), "tmp") IO.puts("Downloading #{label}...") + with {_, :ok} <- {:download_or_unzip, download_or_unzip(frontend_info, tmp_dir, opts[:file])}, IO.puts("Installing #{label} to #{dest}"),