From: FloatingGhost Date: Wed, 15 Jun 2022 17:22:30 +0000 (+0100) Subject: format everything X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f15c9e8b08fef6e9284e0cd4de7637662e335971;p=akkoma format everything --- 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 @@ config :pleroma, :frontends, "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 @@ defmodule Pleroma.Frontend 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}"),