From 07f04afb0c9142add0205abd2b150b0465bfeb75 Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Mon, 19 Jan 2026 11:39:03 +0100 Subject: [PATCH 1/3] wip --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56a4b4e..dd627ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,16 +6,16 @@ jobs: name: "Compile & Lint" runs-on: "ubuntu-latest" steps: + - uses: actions/checkout@v1 - name: Setup elixir uses: erlef/setup-beam@v1 with: - otp-version: 24.3.3 - elixir-version: 1.16.3 + version-file: ".tool-versions" + version-type: strict - - uses: actions/checkout@v1 - run: mix deps.get - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: mix-cache with: path: | From 9be5b1026a5ad5022dd14f1811a1beb49c2bdbfa Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Mon, 19 Jan 2026 11:41:11 +0100 Subject: [PATCH 2/3] wip --- .tool-versions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tool-versions b/.tool-versions index 90399a1..1c7ba9e 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -erlang 24.3.3 24.3.4.14 24.3.4.17 system -elixir 1.16.3-otp-24 +erlang 26.2.5.5 system +elixir 1.19.1-otp-26 From 251541c6141c2bfad55ec435ff0a53940d9e600b Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Mon, 19 Jan 2026 11:52:42 +0100 Subject: [PATCH 3/3] fixup --- lib/desktop/window.ex | 2 +- lib/desktop/wx.ex | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/desktop/window.ex b/lib/desktop/window.ex index 2b5e20c..6edfacf 100644 --- a/lib/desktop/window.ex +++ b/lib/desktop/window.ex @@ -601,7 +601,7 @@ defmodule Desktop.Window do {:noreply, ui} end - def handle_cast(:rebuild_webview, ui) do + def handle_cast(:rebuild_webview, ui = %Window{}) do {:noreply, %Window{ui | webview: Fallback.webview_rebuild(ui)}} end diff --git a/lib/desktop/wx.ex b/lib/desktop/wx.ex index db6fbf0..36079e9 100644 --- a/lib/desktop/wx.ex +++ b/lib/desktop/wx.ex @@ -1,4 +1,3 @@ -# TODO: less stringy metaprogramming defmodule Desktop.Wx do @moduledoc """ Elixir version of the constants found in the wx.hrl file, reduced to what is needed in this sample only.