Skip to content

Commit

Permalink
Update ASCIINEMA cast IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 20, 2024
1 parent 5319e66 commit eca3b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/phx_tools_web/live/phx_tools_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ defmodule PhxToolsWeb.PhxToolsComponents do
</div>
<div
class="mx-auto"
data-asciicast={ascii_cast_id(@live_action)}
data-asciicast={asciinema_cast_id(@live_action)}
id={"asciinema-#{Utils.random_id()}"}
phx-hook="AsciinemaHook"
>
Expand All @@ -150,9 +150,9 @@ defmodule PhxToolsWeb.PhxToolsComponents do
"""
end

defp ascii_cast_id(:macos), do: "bJMOlPe5F4mFLY0Rl6fiJSOp3"
defp asciinema_cast_id(:macos), do: "676867"

defp ascii_cast_id(:linux), do: "XhDpRstBJ4df2gfiRfp0awDPO"
defp asciinema_cast_id(:linux), do: "676866"

defp os_instructions(assigns) do
~H"""
Expand Down

0 comments on commit eca3b0e

Please sign in to comment.