From 4835ea277ab7a9ce7cb72c2d1ad6f1b5b22aa0ea Mon Sep 17 00:00:00 2001 From: Jacalz Date: Sun, 2 Nov 2025 17:57:33 +0100 Subject: [PATCH 1/7] Apply gofumpt on the sources --- bugs/bundled.go | 12 +++++++++--- data.go | 4 +++- fractal/main.go | 4 ++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/bugs/bundled.go b/bugs/bundled.go index d4a968c..63e7146 100644 --- a/bugs/bundled.go +++ b/bugs/bundled.go @@ -7,14 +7,20 @@ import "fyne.io/fyne/v2" var codeIcon = &fyne.StaticResource{ StaticName: "code.svg", StaticContent: []byte{ - 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 86, 48, 122, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 57, 46, 52, 32, 49, 54, 46, 54, 76, 52, 46, 56, 32, 49, 50, 108, 52, 46, 54, 45, 52, 46, 54, 76, 56, 32, 54, 108, 45, 54, 32, 54, 32, 54, 32, 54, 32, 49, 46, 52, 45, 49, 46, 52, 122, 109, 53, 46, 50, 32, 48, 108, 52, 46, 54, 45, 52, 46, 54, 45, 52, 46, 54, 45, 52, 46, 54, 76, 49, 54, 32, 54, 108, 54, 32, 54, 45, 54, 32, 54, 45, 49, 46, 52, 45, 49, 46, 52, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62}} + 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 86, 48, 122, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 57, 46, 52, 32, 49, 54, 46, 54, 76, 52, 46, 56, 32, 49, 50, 108, 52, 46, 54, 45, 52, 46, 54, 76, 56, 32, 54, 108, 45, 54, 32, 54, 32, 54, 32, 54, 32, 49, 46, 52, 45, 49, 46, 52, 122, 109, 53, 46, 50, 32, 48, 108, 52, 46, 54, 45, 52, 46, 54, 45, 52, 46, 54, 45, 52, 46, 54, 76, 49, 54, 32, 54, 108, 54, 32, 54, 45, 54, 32, 54, 45, 49, 46, 52, 45, 49, 46, 52, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62, + }, +} var bugIcon = &fyne.StaticResource{ StaticName: "bug.svg", StaticContent: []byte{ - 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 122, 34, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 50, 48, 32, 56, 104, 45, 50, 46, 56, 49, 99, 45, 46, 52, 53, 45, 46, 55, 56, 45, 49, 46, 48, 55, 45, 49, 46, 52, 53, 45, 49, 46, 56, 50, 45, 49, 46, 57, 54, 76, 49, 55, 32, 52, 46, 52, 49, 32, 49, 53, 46, 53, 57, 32, 51, 108, 45, 50, 46, 49, 55, 32, 50, 46, 49, 55, 67, 49, 50, 46, 57, 54, 32, 53, 46, 48, 54, 32, 49, 50, 46, 52, 57, 32, 53, 32, 49, 50, 32, 53, 99, 45, 46, 52, 57, 32, 48, 45, 46, 57, 54, 46, 48, 54, 45, 49, 46, 52, 49, 46, 49, 55, 76, 56, 46, 52, 49, 32, 51, 32, 55, 32, 52, 46, 52, 49, 108, 49, 46, 54, 50, 32, 49, 46, 54, 51, 67, 55, 46, 56, 56, 32, 54, 46, 53, 53, 32, 55, 46, 50, 54, 32, 55, 46, 50, 50, 32, 54, 46, 56, 49, 32, 56, 72, 52, 118, 50, 104, 50, 46, 48, 57, 99, 45, 46, 48, 53, 46, 51, 51, 45, 46, 48, 57, 46, 54, 54, 45, 46, 48, 57, 32, 49, 118, 49, 72, 52, 118, 50, 104, 50, 118, 49, 99, 48, 32, 46, 51, 52, 46, 48, 52, 46, 54, 55, 46, 48, 57, 32, 49, 72, 52, 118, 50, 104, 50, 46, 56, 49, 99, 49, 46, 48, 52, 32, 49, 46, 55, 57, 32, 50, 46, 57, 55, 32, 51, 32, 53, 46, 49, 57, 32, 51, 115, 52, 46, 49, 53, 45, 49, 46, 50, 49, 32, 53, 46, 49, 57, 45, 51, 72, 50, 48, 118, 45, 50, 104, 45, 50, 46, 48, 57, 99, 46, 48, 53, 45, 46, 51, 51, 46, 48, 57, 45, 46, 54, 54, 46, 48, 57, 45, 49, 118, 45, 49, 104, 50, 118, 45, 50, 104, 45, 50, 118, 45, 49, 99, 48, 45, 46, 51, 52, 45, 46, 48, 52, 45, 46, 54, 55, 45, 46, 48, 57, 45, 49, 72, 50, 48, 86, 56, 122, 109, 45, 54, 32, 56, 104, 45, 52, 118, 45, 50, 104, 52, 118, 50, 122, 109, 48, 45, 52, 104, 45, 52, 118, 45, 50, 104, 52, 118, 50, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62}} + 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 122, 34, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 50, 48, 32, 56, 104, 45, 50, 46, 56, 49, 99, 45, 46, 52, 53, 45, 46, 55, 56, 45, 49, 46, 48, 55, 45, 49, 46, 52, 53, 45, 49, 46, 56, 50, 45, 49, 46, 57, 54, 76, 49, 55, 32, 52, 46, 52, 49, 32, 49, 53, 46, 53, 57, 32, 51, 108, 45, 50, 46, 49, 55, 32, 50, 46, 49, 55, 67, 49, 50, 46, 57, 54, 32, 53, 46, 48, 54, 32, 49, 50, 46, 52, 57, 32, 53, 32, 49, 50, 32, 53, 99, 45, 46, 52, 57, 32, 48, 45, 46, 57, 54, 46, 48, 54, 45, 49, 46, 52, 49, 46, 49, 55, 76, 56, 46, 52, 49, 32, 51, 32, 55, 32, 52, 46, 52, 49, 108, 49, 46, 54, 50, 32, 49, 46, 54, 51, 67, 55, 46, 56, 56, 32, 54, 46, 53, 53, 32, 55, 46, 50, 54, 32, 55, 46, 50, 50, 32, 54, 46, 56, 49, 32, 56, 72, 52, 118, 50, 104, 50, 46, 48, 57, 99, 45, 46, 48, 53, 46, 51, 51, 45, 46, 48, 57, 46, 54, 54, 45, 46, 48, 57, 32, 49, 118, 49, 72, 52, 118, 50, 104, 50, 118, 49, 99, 48, 32, 46, 51, 52, 46, 48, 52, 46, 54, 55, 46, 48, 57, 32, 49, 72, 52, 118, 50, 104, 50, 46, 56, 49, 99, 49, 46, 48, 52, 32, 49, 46, 55, 57, 32, 50, 46, 57, 55, 32, 51, 32, 53, 46, 49, 57, 32, 51, 115, 52, 46, 49, 53, 45, 49, 46, 50, 49, 32, 53, 46, 49, 57, 45, 51, 72, 50, 48, 118, 45, 50, 104, 45, 50, 46, 48, 57, 99, 46, 48, 53, 45, 46, 51, 51, 46, 48, 57, 45, 46, 54, 54, 46, 48, 57, 45, 49, 118, 45, 49, 104, 50, 118, 45, 50, 104, 45, 50, 118, 45, 49, 99, 48, 45, 46, 51, 52, 45, 46, 48, 52, 45, 46, 54, 55, 45, 46, 48, 57, 45, 49, 72, 50, 48, 86, 56, 122, 109, 45, 54, 32, 56, 104, 45, 52, 118, 45, 50, 104, 52, 118, 50, 122, 109, 48, 45, 52, 104, 45, 52, 118, 45, 50, 104, 52, 118, 50, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62, + }, +} var flagIcon = &fyne.StaticResource{ StaticName: "flag.svg", StaticContent: []byte{ - 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 122, 34, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 49, 32, 50, 49, 104, 50, 50, 76, 49, 50, 32, 50, 32, 49, 32, 50, 49, 122, 109, 49, 50, 45, 51, 104, 45, 50, 118, 45, 50, 104, 50, 118, 50, 122, 109, 48, 45, 52, 104, 45, 50, 118, 45, 52, 104, 50, 118, 52, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62}} + 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 122, 34, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 49, 32, 50, 49, 104, 50, 50, 76, 49, 50, 32, 50, 32, 49, 32, 50, 49, 122, 109, 49, 50, 45, 51, 104, 45, 50, 118, 45, 50, 104, 50, 118, 50, 122, 109, 48, 45, 52, 104, 45, 50, 118, 45, 52, 104, 50, 118, 52, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62, + }, +} diff --git a/data.go b/data.go index a127a53..0a223ae 100644 --- a/data.go +++ b/data.go @@ -7,4 +7,6 @@ import "fyne.io/fyne/v2" var resourceIconPng = &fyne.StaticResource{ StaticName: "Icon.png", StaticContent: []byte{ - 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 1, 0, 0, 0, 1, 0, 8, 0, 0, 0, 0, 121, 25, 247, 186, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 1, 147, 0, 0, 1, 147, 1, 140, 78, 202, 19, 0, 0, 0, 25, 116, 69, 88, 116, 83, 111, 102, 116, 119, 97, 114, 101, 0, 119, 119, 119, 46, 105, 110, 107, 115, 99, 97, 112, 101, 46, 111, 114, 103, 155, 238, 60, 26, 0, 0, 8, 212, 73, 68, 65, 84, 120, 218, 237, 221, 253, 87, 20, 85, 24, 7, 112, 254, 180, 186, 179, 176, 139, 11, 235, 75, 234, 154, 10, 145, 120, 80, 148, 208, 34, 197, 151, 76, 142, 128, 133, 40, 69, 162, 29, 80, 219, 2, 73, 201, 52, 9, 18, 216, 3, 150, 102, 161, 212, 154, 39, 76, 225, 144, 22, 66, 224, 11, 138, 130, 8, 184, 46, 147, 56, 251, 50, 15, 9, 115, 119, 187, 187, 247, 238, 125, 230, 254, 202, 238, 89, 158, 207, 188, 220, 153, 239, 220, 123, 39, 129, 32, 111, 9, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 16, 47, 45, 113, 249, 59, 123, 170, 207, 252, 240, 179, 231, 90, 207, 192, 192, 173, 238, 78, 207, 143, 205, 213, 229, 239, 101, 47, 177, 32, 0, 88, 185, 235, 152, 103, 240, 153, 250, 210, 118, 46, 89, 114, 0, 103, 89, 235, 144, 58, 107, 155, 58, 170, 72, 125, 8, 100, 84, 247, 168, 115, 181, 167, 187, 101, 62, 7, 56, 42, 186, 212, 185, 219, 240, 91, 18, 159, 4, 179, 206, 76, 24, 148, 175, 222, 92, 46, 111, 47, 144, 219, 62, 101, 84, 190, 218, 145, 42, 109, 55, 184, 198, 163, 26, 183, 19, 22, 34, 41, 192, 210, 86, 227, 173, 175, 122, 203, 100, 189, 16, 82, 202, 198, 40, 54, 255, 72, 158, 172, 87, 130, 111, 118, 235, 55, 243, 192, 111, 77, 199, 62, 175, 42, 47, 171, 116, 29, 107, 185, 114, 199, 23, 252, 67, 95, 186, 164, 151, 194, 202, 167, 147, 129, 26, 7, 154, 203, 50, 103, 28, 229, 73, 217, 229, 205, 125, 211, 127, 243, 204, 151, 244, 94, 96, 193, 37, 127, 245, 119, 191, 90, 59, 235, 101, 241, 254, 142, 211, 73, 146, 222, 12, 101, 223, 214, 202, 255, 187, 216, 18, 213, 223, 17, 21, 160, 64, 187, 242, 25, 218, 165, 68, 249, 135, 4, 5, 168, 212, 58, 191, 214, 249, 81, 255, 37, 33, 1, 148, 227, 218, 121, 191, 4, 105, 32, 162, 212, 191, 168, 255, 73, 62, 210, 68, 72, 249, 246, 69, 253, 147, 185, 4, 41, 128, 182, 255, 171, 165, 4, 41, 128, 75, 171, 191, 142, 32, 5, 40, 212, 206, 255, 125, 54, 164, 0, 27, 189, 90, 188, 247, 54, 193, 9, 224, 28, 214, 14, 0, 55, 193, 9, 144, 212, 169, 213, 239, 75, 71, 10, 112, 210, 127, 255, 211, 70, 112, 2, 108, 242, 167, 63, 83, 153, 56, 1, 22, 4, 30, 122, 92, 38, 56, 1, 220, 129, 252, 99, 55, 78, 128, 188, 64, 252, 57, 150, 140, 18, 32, 121, 48, 176, 3, 52, 16, 148, 0, 174, 96, 202, 153, 135, 18, 96, 233, 120, 160, 254, 199, 73, 40, 1, 154, 130, 59, 64, 27, 193, 8, 176, 204, 27, 4, 40, 68, 9, 208, 16, 172, 255, 217, 124, 140, 0, 75, 130, 207, 64, 212, 46, 130, 17, 224, 100, 232, 17, 88, 29, 70, 128, 215, 116, 227, 31, 182, 97, 4, 168, 209, 141, 116, 114, 32, 4, 176, 220, 13, 1, 244, 16, 132, 0, 91, 117, 79, 193, 235, 49, 2, 156, 211, 1, 148, 34, 4, 88, 240, 84, 7, 144, 133, 16, 224, 160, 126, 28, 72, 18, 66, 128, 155, 58, 128, 110, 130, 15, 32, 77, 63, 224, 169, 17, 33, 128, 254, 8, 80, 43, 228, 1, 40, 161, 221, 152, 96, 32, 228, 38, 105, 0, 74, 220, 23, 233, 62, 104, 215, 247, 1, 170, 83, 22, 128, 162, 54, 7, 37, 64, 129, 190, 254, 49, 69, 18, 128, 162, 182, 212, 20, 74, 128, 38, 61, 192, 117, 34, 7, 192, 243, 250, 237, 148, 0, 10, 152, 2, 210, 34, 7, 192, 116, 253, 180, 0, 43, 193, 176, 223, 35, 82, 0, 188, 168, 159, 22, 160, 24, 0, 20, 203, 0, 160, 213, 79, 11, 112, 10, 0, 228, 72, 0, 224, 175, 159, 22, 224, 58, 0, 88, 28, 255, 0, 129, 250, 41, 1, 172, 224, 42, 96, 66, 137, 123, 128, 96, 253, 148, 0, 57, 96, 7, 232, 53, 234, 50, 94, 17, 29, 160, 196, 157, 98, 15, 0, 220, 58, 68, 209, 218, 1, 128, 209, 87, 142, 172, 23, 28, 64, 87, 191, 221, 190, 157, 166, 253, 10, 0, 46, 26, 124, 186, 246, 218, 74, 161, 1, 66, 251, 63, 117, 187, 10, 0, 92, 6, 159, 46, 186, 49, 186, 82, 96, 128, 8, 234, 183, 63, 0, 0, 37, 134, 0, 42, 107, 129, 4, 190, 245, 47, 134, 243, 191, 242, 140, 1, 88, 11, 36, 112, 173, 223, 158, 11, 1, 210, 41, 0, 24, 11, 36, 68, 229, 252, 71, 221, 74, 224, 4, 200, 84, 26, 0, 182, 2, 204, 0, 26, 63, 137, 160, 126, 123, 13, 0, 24, 180, 83, 1, 48, 21, 96, 6, 160, 212, 31, 136, 0, 160, 13, 0, 252, 78, 9, 192, 82, 128, 221, 57, 32, 34, 129, 63, 0, 64, 43, 45, 0, 67, 1, 134, 189, 64, 36, 2, 247, 0, 192, 151, 212, 0, 236, 4, 88, 94, 7, 132, 47, 224, 128, 139, 161, 148, 211, 3, 168, 35, 43, 4, 188, 18, 12, 91, 96, 21, 236, 5, 183, 27, 2, 12, 171, 172, 5, 216, 222, 11, 40, 141, 161, 141, 152, 50, 58, 52, 107, 123, 240, 80, 107, 163, 51, 230, 193, 63, 52, 106, 62, 221, 167, 217, 28, 5, 140, 239, 6, 117, 251, 64, 74, 183, 26, 229, 198, 68, 128, 117, 30, 16, 18, 136, 62, 0, 19, 1, 230, 137, 80, 80, 32, 6, 0, 44, 4, 216, 103, 130, 1, 129, 88, 0, 48, 16, 136, 66, 42, 236, 23, 136, 9, 128, 250, 40, 241, 85, 241, 158, 11, 104, 2, 49, 1, 240, 109, 78, 18, 111, 15, 240, 11, 196, 2, 224, 255, 215, 31, 165, 103, 131, 211, 2, 49, 0, 96, 80, 127, 180, 158, 14, 63, 23, 136, 62, 0, 139, 250, 163, 54, 62, 64, 169, 63, 216, 29, 15, 245, 71, 111, 132, 136, 210, 208, 213, 111, 212, 30, 195, 245, 0, 251, 141, 219, 132, 190, 126, 43, 17, 25, 128, 144, 215, 29, 70, 173, 3, 46, 8, 103, 248, 121, 135, 53, 244, 24, 193, 183, 137, 205, 136, 66, 174, 163, 196, 254, 4, 0, 167, 141, 191, 16, 2, 96, 179, 255, 243, 6, 24, 1, 0, 85, 97, 0, 48, 171, 159, 43, 128, 29, 158, 212, 138, 232, 1, 216, 213, 207, 21, 96, 70, 28, 146, 75, 13, 192, 176, 126, 174, 0, 91, 32, 128, 147, 22, 128, 101, 253, 92, 1, 202, 64, 253, 207, 18, 41, 1, 152, 214, 207, 21, 224, 40, 0, 184, 77, 232, 0, 216, 214, 207, 21, 192, 13, 159, 138, 208, 1, 48, 174, 159, 43, 192, 21, 248, 84, 132, 10, 128, 117, 253, 92, 1, 6, 1, 64, 45, 13, 64, 7, 235, 250, 121, 2, 40, 94, 0, 240, 17, 13, 128, 211, 74, 228, 1, 88, 10, 123, 193, 173, 20, 95, 73, 100, 63, 163, 136, 35, 0, 28, 33, 167, 102, 242, 249, 47, 56, 2, 236, 130, 0, 41, 232, 0, 42, 97, 192, 77, 208, 1, 192, 97, 210, 55, 240, 1, 92, 0, 0, 237, 248, 0, 122, 194, 141, 67, 100, 3, 120, 4, 0, 14, 161, 3, 72, 86, 57, 207, 21, 225, 13, 144, 17, 118, 28, 34, 25, 192, 230, 176, 227, 16, 201, 0, 246, 134, 29, 135, 72, 6, 80, 29, 118, 28, 34, 25, 64, 115, 216, 113, 136, 100, 0, 151, 195, 142, 67, 36, 3, 232, 15, 59, 14, 145, 11, 64, 153, 4, 0, 31, 163, 3, 152, 49, 87, 100, 27, 58, 128, 117, 66, 196, 33, 28, 1, 10, 32, 64, 42, 58, 0, 176, 116, 138, 58, 70, 208, 1, 124, 13, 223, 22, 136, 15, 224, 188, 16, 113, 8, 71, 128, 46, 33, 226, 16, 142, 0, 195, 66, 196, 33, 252, 0, 108, 83, 66, 196, 33, 252, 0, 210, 197, 136, 67, 248, 1, 188, 11, 1, 150, 161, 3, 40, 133, 131, 62, 19, 209, 1, 124, 1, 0, 238, 16, 116, 0, 103, 0, 64, 39, 62, 0, 143, 24, 113, 8, 63, 128, 62, 56, 103, 22, 29, 128, 50, 33, 70, 28, 194, 13, 96, 145, 32, 113, 8, 55, 128, 108, 65, 226, 16, 110, 0, 59, 5, 137, 67, 184, 1, 28, 16, 36, 14, 225, 6, 112, 66, 144, 56, 132, 27, 192, 57, 65, 226, 16, 110, 0, 112, 21, 193, 122, 124, 0, 247, 1, 192, 97, 116, 0, 86, 81, 226, 16, 94, 0, 105, 176, 23, 220, 128, 14, 32, 79, 148, 56, 132, 23, 64, 137, 40, 113, 8, 47, 0, 151, 40, 113, 8, 47, 128, 239, 68, 137, 67, 120, 1, 252, 34, 74, 28, 194, 11, 160, 87, 148, 56, 132, 23, 192, 56, 92, 66, 12, 29, 192, 66, 97, 226, 16, 78, 0, 107, 32, 192, 106, 116, 0, 59, 32, 128, 3, 29, 64, 133, 48, 113, 8, 39, 128, 58, 97, 226, 16, 78, 0, 223, 195, 5, 197, 241, 1, 192, 165, 84, 79, 225, 3, 0, 47, 150, 137, 253, 219, 181, 184, 3, 36, 249, 196, 185, 12, 224, 2, 176, 2, 246, 130, 25, 232, 0, 96, 28, 50, 101, 69, 7, 176, 7, 46, 40, 78, 208, 1, 192, 209, 33, 30, 124, 0, 45, 0, 160, 1, 31, 0, 92, 59, 164, 18, 31, 0, 92, 59, 228, 125, 116, 0, 22, 175, 56, 55, 195, 92, 0, 150, 193, 25, 147, 54, 116, 0, 27, 5, 186, 23, 228, 2, 240, 129, 56, 145, 48, 31, 0, 151, 72, 157, 0, 15, 0, 248, 84, 36, 31, 31, 0, 28, 36, 186, 8, 31, 0, 152, 51, 59, 64, 208, 1, 192, 57, 179, 109, 248, 0, 150, 8, 20, 7, 113, 1, 200, 225, 252, 154, 89, 238, 0, 69, 224, 45, 171, 73, 248, 0, 14, 131, 229, 180, 9, 62, 128, 6, 145, 46, 131, 120, 0, 128, 215, 172, 102, 35, 4, 184, 173, 171, 127, 216, 130, 15, 0, 140, 145, 108, 38, 248, 0, 50, 245, 71, 64, 1, 66, 0, 253, 84, 9, 111, 10, 66, 128, 26, 65, 134, 201, 115, 3, 184, 164, 3, 40, 196, 8, 160, 27, 40, 63, 62, 15, 33, 128, 83, 183, 3, 184, 9, 66, 128, 66, 145, 110, 132, 120, 0, 232, 242, 176, 30, 130, 17, 64, 247, 84, 168, 20, 35, 128, 110, 170, 200, 80, 50, 70, 128, 10, 33, 38, 76, 115, 4, 184, 26, 154, 37, 97, 197, 8, 224, 156, 18, 98, 166, 24, 63, 128, 208, 148, 225, 78, 5, 35, 128, 242, 87, 112, 158, 84, 22, 193, 8, 16, 26, 30, 118, 156, 160, 4, 8, 46, 168, 223, 107, 67, 9, 144, 22, 24, 33, 234, 93, 75, 80, 2, 180, 5, 118, 128, 3, 4, 37, 64, 102, 160, 15, 188, 160, 224, 4, 8, 68, 33, 189, 41, 4, 37, 64, 113, 32, 10, 79, 35, 40, 1, 22, 250, 151, 144, 156, 88, 79, 80, 2, 40, 254, 69, 84, 189, 249, 4, 39, 128, 255, 145, 168, 119, 7, 193, 9, 176, 69, 235, 1, 188, 59, 9, 78, 128, 220, 39, 218, 241, 47, 220, 246, 143, 17, 64, 238, 152, 246, 58, 177, 13, 4, 39, 192, 251, 218, 246, 191, 151, 73, 80, 2, 40, 85, 218, 241, 223, 227, 36, 40, 1, 210, 252, 239, 18, 113, 219, 8, 70, 0, 155, 75, 27, 21, 56, 89, 65, 8, 66, 0, 123, 197, 61, 255, 229, 127, 22, 145, 20, 96, 71, 199, 225, 220, 89, 70, 186, 41, 27, 235, 71, 252, 51, 3, 79, 39, 19, 57, 1, 44, 181, 211, 231, 183, 241, 203, 117, 197, 171, 102, 172, 133, 148, 81, 218, 124, 55, 112, 247, 255, 96, 59, 33, 114, 2, 44, 212, 13, 248, 242, 14, 94, 105, 57, 238, 170, 44, 219, 95, 85, 123, 242, 167, 155, 186, 69, 82, 124, 223, 56, 136, 164, 0, 107, 224, 236, 175, 151, 183, 238, 117, 132, 72, 10, 176, 239, 169, 113, 249, 247, 247, 42, 68, 82, 0, 107, 163, 113, 249, 195, 85, 201, 132, 72, 10, 224, 188, 46, 71, 249, 145, 2, 228, 63, 50, 42, 191, 243, 67, 43, 33, 178, 2, 40, 85, 190, 185, 171, 31, 109, 88, 77, 226, 165, 69, 0, 224, 104, 159, 123, 215, 111, 218, 105, 35, 68, 98, 128, 212, 174, 217, 139, 247, 245, 212, 230, 40, 36, 174, 90, 4, 123, 128, 37, 231, 51, 207, 216, 127, 139, 255, 231, 236, 193, 13, 243, 72, 220, 181, 8, 123, 1, 101, 213, 238, 154, 179, 157, 55, 6, 250, 187, 59, 61, 231, 221, 53, 251, 54, 191, 97, 35, 241, 217, 18, 8, 242, 102, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 96, 108, 255, 2, 197, 33, 52, 81, 15, 83, 174, 161, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130}} + 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 1, 0, 0, 0, 1, 0, 8, 0, 0, 0, 0, 121, 25, 247, 186, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 1, 147, 0, 0, 1, 147, 1, 140, 78, 202, 19, 0, 0, 0, 25, 116, 69, 88, 116, 83, 111, 102, 116, 119, 97, 114, 101, 0, 119, 119, 119, 46, 105, 110, 107, 115, 99, 97, 112, 101, 46, 111, 114, 103, 155, 238, 60, 26, 0, 0, 8, 212, 73, 68, 65, 84, 120, 218, 237, 221, 253, 87, 20, 85, 24, 7, 112, 254, 180, 186, 179, 176, 139, 11, 235, 75, 234, 154, 10, 145, 120, 80, 148, 208, 34, 197, 151, 76, 142, 128, 133, 40, 69, 162, 29, 80, 219, 2, 73, 201, 52, 9, 18, 216, 3, 150, 102, 161, 212, 154, 39, 76, 225, 144, 22, 66, 224, 11, 138, 130, 8, 184, 46, 147, 56, 251, 50, 15, 9, 115, 119, 187, 187, 247, 238, 125, 230, 254, 202, 238, 89, 158, 207, 188, 220, 153, 239, 220, 123, 39, 129, 32, 111, 9, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 16, 47, 45, 113, 249, 59, 123, 170, 207, 252, 240, 179, 231, 90, 207, 192, 192, 173, 238, 78, 207, 143, 205, 213, 229, 239, 101, 47, 177, 32, 0, 88, 185, 235, 152, 103, 240, 153, 250, 210, 118, 46, 89, 114, 0, 103, 89, 235, 144, 58, 107, 155, 58, 170, 72, 125, 8, 100, 84, 247, 168, 115, 181, 167, 187, 101, 62, 7, 56, 42, 186, 212, 185, 219, 240, 91, 18, 159, 4, 179, 206, 76, 24, 148, 175, 222, 92, 46, 111, 47, 144, 219, 62, 101, 84, 190, 218, 145, 42, 109, 55, 184, 198, 163, 26, 183, 19, 22, 34, 41, 192, 210, 86, 227, 173, 175, 122, 203, 100, 189, 16, 82, 202, 198, 40, 54, 255, 72, 158, 172, 87, 130, 111, 118, 235, 55, 243, 192, 111, 77, 199, 62, 175, 42, 47, 171, 116, 29, 107, 185, 114, 199, 23, 252, 67, 95, 186, 164, 151, 194, 202, 167, 147, 129, 26, 7, 154, 203, 50, 103, 28, 229, 73, 217, 229, 205, 125, 211, 127, 243, 204, 151, 244, 94, 96, 193, 37, 127, 245, 119, 191, 90, 59, 235, 101, 241, 254, 142, 211, 73, 146, 222, 12, 101, 223, 214, 202, 255, 187, 216, 18, 213, 223, 17, 21, 160, 64, 187, 242, 25, 218, 165, 68, 249, 135, 4, 5, 168, 212, 58, 191, 214, 249, 81, 255, 37, 33, 1, 148, 227, 218, 121, 191, 4, 105, 32, 162, 212, 191, 168, 255, 73, 62, 210, 68, 72, 249, 246, 69, 253, 147, 185, 4, 41, 128, 182, 255, 171, 165, 4, 41, 128, 75, 171, 191, 142, 32, 5, 40, 212, 206, 255, 125, 54, 164, 0, 27, 189, 90, 188, 247, 54, 193, 9, 224, 28, 214, 14, 0, 55, 193, 9, 144, 212, 169, 213, 239, 75, 71, 10, 112, 210, 127, 255, 211, 70, 112, 2, 108, 242, 167, 63, 83, 153, 56, 1, 22, 4, 30, 122, 92, 38, 56, 1, 220, 129, 252, 99, 55, 78, 128, 188, 64, 252, 57, 150, 140, 18, 32, 121, 48, 176, 3, 52, 16, 148, 0, 174, 96, 202, 153, 135, 18, 96, 233, 120, 160, 254, 199, 73, 40, 1, 154, 130, 59, 64, 27, 193, 8, 176, 204, 27, 4, 40, 68, 9, 208, 16, 172, 255, 217, 124, 140, 0, 75, 130, 207, 64, 212, 46, 130, 17, 224, 100, 232, 17, 88, 29, 70, 128, 215, 116, 227, 31, 182, 97, 4, 168, 209, 141, 116, 114, 32, 4, 176, 220, 13, 1, 244, 16, 132, 0, 91, 117, 79, 193, 235, 49, 2, 156, 211, 1, 148, 34, 4, 88, 240, 84, 7, 144, 133, 16, 224, 160, 126, 28, 72, 18, 66, 128, 155, 58, 128, 110, 130, 15, 32, 77, 63, 224, 169, 17, 33, 128, 254, 8, 80, 43, 228, 1, 40, 161, 221, 152, 96, 32, 228, 38, 105, 0, 74, 220, 23, 233, 62, 104, 215, 247, 1, 170, 83, 22, 128, 162, 54, 7, 37, 64, 129, 190, 254, 49, 69, 18, 128, 162, 182, 212, 20, 74, 128, 38, 61, 192, 117, 34, 7, 192, 243, 250, 237, 148, 0, 10, 152, 2, 210, 34, 7, 192, 116, 253, 180, 0, 43, 193, 176, 223, 35, 82, 0, 188, 168, 159, 22, 160, 24, 0, 20, 203, 0, 160, 213, 79, 11, 112, 10, 0, 228, 72, 0, 224, 175, 159, 22, 224, 58, 0, 88, 28, 255, 0, 129, 250, 41, 1, 172, 224, 42, 96, 66, 137, 123, 128, 96, 253, 148, 0, 57, 96, 7, 232, 53, 234, 50, 94, 17, 29, 160, 196, 157, 98, 15, 0, 220, 58, 68, 209, 218, 1, 128, 209, 87, 142, 172, 23, 28, 64, 87, 191, 221, 190, 157, 166, 253, 10, 0, 46, 26, 124, 186, 246, 218, 74, 161, 1, 66, 251, 63, 117, 187, 10, 0, 92, 6, 159, 46, 186, 49, 186, 82, 96, 128, 8, 234, 183, 63, 0, 0, 37, 134, 0, 42, 107, 129, 4, 190, 245, 47, 134, 243, 191, 242, 140, 1, 88, 11, 36, 112, 173, 223, 158, 11, 1, 210, 41, 0, 24, 11, 36, 68, 229, 252, 71, 221, 74, 224, 4, 200, 84, 26, 0, 182, 2, 204, 0, 26, 63, 137, 160, 126, 123, 13, 0, 24, 180, 83, 1, 48, 21, 96, 6, 160, 212, 31, 136, 0, 160, 13, 0, 252, 78, 9, 192, 82, 128, 221, 57, 32, 34, 129, 63, 0, 64, 43, 45, 0, 67, 1, 134, 189, 64, 36, 2, 247, 0, 192, 151, 212, 0, 236, 4, 88, 94, 7, 132, 47, 224, 128, 139, 161, 148, 211, 3, 168, 35, 43, 4, 188, 18, 12, 91, 96, 21, 236, 5, 183, 27, 2, 12, 171, 172, 5, 216, 222, 11, 40, 141, 161, 141, 152, 50, 58, 52, 107, 123, 240, 80, 107, 163, 51, 230, 193, 63, 52, 106, 62, 221, 167, 217, 28, 5, 140, 239, 6, 117, 251, 64, 74, 183, 26, 229, 198, 68, 128, 117, 30, 16, 18, 136, 62, 0, 19, 1, 230, 137, 80, 80, 32, 6, 0, 44, 4, 216, 103, 130, 1, 129, 88, 0, 48, 16, 136, 66, 42, 236, 23, 136, 9, 128, 250, 40, 241, 85, 241, 158, 11, 104, 2, 49, 1, 240, 109, 78, 18, 111, 15, 240, 11, 196, 2, 224, 255, 215, 31, 165, 103, 131, 211, 2, 49, 0, 96, 80, 127, 180, 158, 14, 63, 23, 136, 62, 0, 139, 250, 163, 54, 62, 64, 169, 63, 216, 29, 15, 245, 71, 111, 132, 136, 210, 208, 213, 111, 212, 30, 195, 245, 0, 251, 141, 219, 132, 190, 126, 43, 17, 25, 128, 144, 215, 29, 70, 173, 3, 46, 8, 103, 248, 121, 135, 53, 244, 24, 193, 183, 137, 205, 136, 66, 174, 163, 196, 254, 4, 0, 167, 141, 191, 16, 2, 96, 179, 255, 243, 6, 24, 1, 0, 85, 97, 0, 48, 171, 159, 43, 128, 29, 158, 212, 138, 232, 1, 216, 213, 207, 21, 96, 70, 28, 146, 75, 13, 192, 176, 126, 174, 0, 91, 32, 128, 147, 22, 128, 101, 253, 92, 1, 202, 64, 253, 207, 18, 41, 1, 152, 214, 207, 21, 224, 40, 0, 184, 77, 232, 0, 216, 214, 207, 21, 192, 13, 159, 138, 208, 1, 48, 174, 159, 43, 192, 21, 248, 84, 132, 10, 128, 117, 253, 92, 1, 6, 1, 64, 45, 13, 64, 7, 235, 250, 121, 2, 40, 94, 0, 240, 17, 13, 128, 211, 74, 228, 1, 88, 10, 123, 193, 173, 20, 95, 73, 100, 63, 163, 136, 35, 0, 28, 33, 167, 102, 242, 249, 47, 56, 2, 236, 130, 0, 41, 232, 0, 42, 97, 192, 77, 208, 1, 192, 97, 210, 55, 240, 1, 92, 0, 0, 237, 248, 0, 122, 194, 141, 67, 100, 3, 120, 4, 0, 14, 161, 3, 72, 86, 57, 207, 21, 225, 13, 144, 17, 118, 28, 34, 25, 192, 230, 176, 227, 16, 201, 0, 246, 134, 29, 135, 72, 6, 80, 29, 118, 28, 34, 25, 64, 115, 216, 113, 136, 100, 0, 151, 195, 142, 67, 36, 3, 232, 15, 59, 14, 145, 11, 64, 153, 4, 0, 31, 163, 3, 152, 49, 87, 100, 27, 58, 128, 117, 66, 196, 33, 28, 1, 10, 32, 64, 42, 58, 0, 176, 116, 138, 58, 70, 208, 1, 124, 13, 223, 22, 136, 15, 224, 188, 16, 113, 8, 71, 128, 46, 33, 226, 16, 142, 0, 195, 66, 196, 33, 252, 0, 108, 83, 66, 196, 33, 252, 0, 210, 197, 136, 67, 248, 1, 188, 11, 1, 150, 161, 3, 40, 133, 131, 62, 19, 209, 1, 124, 1, 0, 238, 16, 116, 0, 103, 0, 64, 39, 62, 0, 143, 24, 113, 8, 63, 128, 62, 56, 103, 22, 29, 128, 50, 33, 70, 28, 194, 13, 96, 145, 32, 113, 8, 55, 128, 108, 65, 226, 16, 110, 0, 59, 5, 137, 67, 184, 1, 28, 16, 36, 14, 225, 6, 112, 66, 144, 56, 132, 27, 192, 57, 65, 226, 16, 110, 0, 112, 21, 193, 122, 124, 0, 247, 1, 192, 97, 116, 0, 86, 81, 226, 16, 94, 0, 105, 176, 23, 220, 128, 14, 32, 79, 148, 56, 132, 23, 64, 137, 40, 113, 8, 47, 0, 151, 40, 113, 8, 47, 128, 239, 68, 137, 67, 120, 1, 252, 34, 74, 28, 194, 11, 160, 87, 148, 56, 132, 23, 192, 56, 92, 66, 12, 29, 192, 66, 97, 226, 16, 78, 0, 107, 32, 192, 106, 116, 0, 59, 32, 128, 3, 29, 64, 133, 48, 113, 8, 39, 128, 58, 97, 226, 16, 78, 0, 223, 195, 5, 197, 241, 1, 192, 165, 84, 79, 225, 3, 0, 47, 150, 137, 253, 219, 181, 184, 3, 36, 249, 196, 185, 12, 224, 2, 176, 2, 246, 130, 25, 232, 0, 96, 28, 50, 101, 69, 7, 176, 7, 46, 40, 78, 208, 1, 192, 209, 33, 30, 124, 0, 45, 0, 160, 1, 31, 0, 92, 59, 164, 18, 31, 0, 92, 59, 228, 125, 116, 0, 22, 175, 56, 55, 195, 92, 0, 150, 193, 25, 147, 54, 116, 0, 27, 5, 186, 23, 228, 2, 240, 129, 56, 145, 48, 31, 0, 151, 72, 157, 0, 15, 0, 248, 84, 36, 31, 31, 0, 28, 36, 186, 8, 31, 0, 152, 51, 59, 64, 208, 1, 192, 57, 179, 109, 248, 0, 150, 8, 20, 7, 113, 1, 200, 225, 252, 154, 89, 238, 0, 69, 224, 45, 171, 73, 248, 0, 14, 131, 229, 180, 9, 62, 128, 6, 145, 46, 131, 120, 0, 128, 215, 172, 102, 35, 4, 184, 173, 171, 127, 216, 130, 15, 0, 140, 145, 108, 38, 248, 0, 50, 245, 71, 64, 1, 66, 0, 253, 84, 9, 111, 10, 66, 128, 26, 65, 134, 201, 115, 3, 184, 164, 3, 40, 196, 8, 160, 27, 40, 63, 62, 15, 33, 128, 83, 183, 3, 184, 9, 66, 128, 66, 145, 110, 132, 120, 0, 232, 242, 176, 30, 130, 17, 64, 247, 84, 168, 20, 35, 128, 110, 170, 200, 80, 50, 70, 128, 10, 33, 38, 76, 115, 4, 184, 26, 154, 37, 97, 197, 8, 224, 156, 18, 98, 166, 24, 63, 128, 208, 148, 225, 78, 5, 35, 128, 242, 87, 112, 158, 84, 22, 193, 8, 16, 26, 30, 118, 156, 160, 4, 8, 46, 168, 223, 107, 67, 9, 144, 22, 24, 33, 234, 93, 75, 80, 2, 180, 5, 118, 128, 3, 4, 37, 64, 102, 160, 15, 188, 160, 224, 4, 8, 68, 33, 189, 41, 4, 37, 64, 113, 32, 10, 79, 35, 40, 1, 22, 250, 151, 144, 156, 88, 79, 80, 2, 40, 254, 69, 84, 189, 249, 4, 39, 128, 255, 145, 168, 119, 7, 193, 9, 176, 69, 235, 1, 188, 59, 9, 78, 128, 220, 39, 218, 241, 47, 220, 246, 143, 17, 64, 238, 152, 246, 58, 177, 13, 4, 39, 192, 251, 218, 246, 191, 151, 73, 80, 2, 40, 85, 218, 241, 223, 227, 36, 40, 1, 210, 252, 239, 18, 113, 219, 8, 70, 0, 155, 75, 27, 21, 56, 89, 65, 8, 66, 0, 123, 197, 61, 255, 229, 127, 22, 145, 20, 96, 71, 199, 225, 220, 89, 70, 186, 41, 27, 235, 71, 252, 51, 3, 79, 39, 19, 57, 1, 44, 181, 211, 231, 183, 241, 203, 117, 197, 171, 102, 172, 133, 148, 81, 218, 124, 55, 112, 247, 255, 96, 59, 33, 114, 2, 44, 212, 13, 248, 242, 14, 94, 105, 57, 238, 170, 44, 219, 95, 85, 123, 242, 167, 155, 186, 69, 82, 124, 223, 56, 136, 164, 0, 107, 224, 236, 175, 151, 183, 238, 117, 132, 72, 10, 176, 239, 169, 113, 249, 247, 247, 42, 68, 82, 0, 107, 163, 113, 249, 195, 85, 201, 132, 72, 10, 224, 188, 46, 71, 249, 145, 2, 228, 63, 50, 42, 191, 243, 67, 43, 33, 178, 2, 40, 85, 190, 185, 171, 31, 109, 88, 77, 226, 165, 69, 0, 224, 104, 159, 123, 215, 111, 218, 105, 35, 68, 98, 128, 212, 174, 217, 139, 247, 245, 212, 230, 40, 36, 174, 90, 4, 123, 128, 37, 231, 51, 207, 216, 127, 139, 255, 231, 236, 193, 13, 243, 72, 220, 181, 8, 123, 1, 101, 213, 238, 154, 179, 157, 55, 6, 250, 187, 59, 61, 231, 221, 53, 251, 54, 191, 97, 35, 241, 217, 18, 8, 242, 102, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 96, 108, 255, 2, 197, 33, 52, 81, 15, 83, 174, 161, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130, + }, +} diff --git a/fractal/main.go b/fractal/main.go index 199cd06..c83eea6 100644 --- a/fractal/main.go +++ b/fractal/main.go @@ -118,6 +118,6 @@ func Show(win fyne.Window) fyne.CanvasObject { return container.New(fractal, fractal.canvas) // TODO: Register, and unregister, these keys: - //window.Canvas().SetOnTypedRune(fractal.fractalRune) - //window.Canvas().SetOnTypedKey(fractal.fractalKey) + // window.Canvas().SetOnTypedRune(fractal.fractalRune) + // window.Canvas().SetOnTypedKey(fractal.fractalKey) } From af1013281b7e6343b8d4d2458f9b5b8cae6ff077 Mon Sep 17 00:00:00 2001 From: Jacalz Date: Sun, 2 Nov 2025 18:04:46 +0100 Subject: [PATCH 2/7] Fix staticcheck warnings --- bugs/button.go | 6 +++--- bugs/main.go | 2 +- clock/clock.go | 28 ++++++++++++++-------------- fractal/main.go | 4 ++-- main.go | 2 +- xkcd/main.go | 5 ++--- 6 files changed, 23 insertions(+), 24 deletions(-) diff --git a/bugs/button.go b/bugs/button.go index 4d37ddb..0cbeafc 100644 --- a/bugs/button.go +++ b/bugs/button.go @@ -40,12 +40,12 @@ func (b *bugRenderer) Layout(size fyne.Size) { // ApplyTheme is called when the bugButton may need to update it's look func (b *bugRenderer) ApplyTheme() { - b.label.Color = theme.ForegroundColor() + b.label.Color = theme.Color(theme.ColorNameForeground) b.Refresh() } func (b *bugRenderer) BackgroundColor() color.Color { - return theme.ButtonColor() + return theme.Color(theme.ColorNameButton) } func (b *bugRenderer) Refresh() { @@ -87,7 +87,7 @@ func (b *bugButton) TappedSecondary(ev *fyne.PointEvent) { } func (b *bugButton) CreateRenderer() fyne.WidgetRenderer { - text := canvas.NewText(b.text, theme.ForegroundColor()) + text := canvas.NewText(b.text, theme.Color(theme.ColorNameForeground)) text.Alignment = fyne.TextAlignCenter text.TextStyle.Bold = true diff --git a/bugs/main.go b/bugs/main.go index 77ab147..2572356 100644 --- a/bugs/main.go +++ b/bugs/main.go @@ -43,7 +43,7 @@ func (g *gameRenderer) ApplyTheme() { } func (g *gameRenderer) BackgroundColor() color.Color { - return theme.BackgroundColor() + return theme.Color(theme.ColorNameBackground) } func (g *gameRenderer) Refresh() { diff --git a/clock/clock.go b/clock/clock.go index e86b27d..cb84586 100644 --- a/clock/clock.go +++ b/clock/clock.go @@ -79,17 +79,17 @@ func (c *clockLayout) MinSize(_ []fyne.CanvasObject) fyne.Size { } func (c *clockLayout) render() *fyne.Container { - c.hourDot = &canvas.Circle{StrokeColor: theme.ForegroundColor(), StrokeWidth: 5} - c.secondDot = &canvas.Circle{StrokeColor: theme.PrimaryColor(), StrokeWidth: 3} - c.face = &canvas.Circle{StrokeColor: theme.DisabledColor(), StrokeWidth: 1} + c.hourDot = &canvas.Circle{StrokeColor: theme.Color(theme.ColorNameForeground), StrokeWidth: 5} + c.secondDot = &canvas.Circle{StrokeColor: theme.Color(theme.ColorNamePrimary), StrokeWidth: 3} + c.face = &canvas.Circle{StrokeColor: theme.Color(theme.ColorNameDisabled), StrokeWidth: 1} - c.hour = &canvas.Line{StrokeColor: theme.ForegroundColor(), StrokeWidth: 5} - c.minute = &canvas.Line{StrokeColor: theme.ForegroundColor(), StrokeWidth: 3} - c.second = &canvas.Line{StrokeColor: theme.PrimaryColor(), StrokeWidth: 1} + c.hour = &canvas.Line{StrokeColor: theme.Color(theme.ColorNameForeground), StrokeWidth: 5} + c.minute = &canvas.Line{StrokeColor: theme.Color(theme.ColorNameForeground), StrokeWidth: 3} + c.second = &canvas.Line{StrokeColor: theme.Color(theme.ColorNamePrimary), StrokeWidth: 1} container := container.NewWithoutLayout(c.hourDot, c.secondDot) for i := range c.pips { - pip := &canvas.Line{StrokeColor: theme.DisabledColor(), StrokeWidth: 1} + pip := &canvas.Line{StrokeColor: theme.Color(theme.ColorNameDisabled), StrokeWidth: 1} container.Add(pip) c.pips[i] = pip } @@ -113,16 +113,16 @@ func (c *clockLayout) animate(co fyne.CanvasObject) { } func (c *clockLayout) applyTheme(_ fyne.Settings) { - c.hourDot.StrokeColor = theme.ForegroundColor() - c.secondDot.StrokeColor = theme.PrimaryColor() - c.face.StrokeColor = theme.DisabledColor() + c.hourDot.StrokeColor = theme.Color(theme.ColorNameForeground) + c.secondDot.StrokeColor = theme.Color(theme.ColorNamePrimary) + c.face.StrokeColor = theme.Color(theme.ColorNameDisabled) - c.hour.StrokeColor = theme.ForegroundColor() - c.minute.StrokeColor = theme.ForegroundColor() - c.second.StrokeColor = theme.PrimaryColor() + c.hour.StrokeColor = theme.Color(theme.ColorNameForeground) + c.minute.StrokeColor = theme.Color(theme.ColorNameForeground) + c.second.StrokeColor = theme.Color(theme.ColorNamePrimary) for _, p := range c.pips { - p.StrokeColor = theme.DisabledColor() + p.StrokeColor = theme.Color(theme.ColorNameDisabled) } } diff --git a/fractal/main.go b/fractal/main.go index c83eea6..6e6bac5 100644 --- a/fractal/main.go +++ b/fractal/main.go @@ -70,13 +70,13 @@ func (f *fractal) mandelbrot(px, py, w, h int) color.Color { } if i == f.currIterations { - return theme.BackgroundColor() + return theme.Color(theme.ColorNameBackground) } mu := (float64(i) / float64(f.currIterations)) c := math.Sin((mu / 2) * math.Pi) - return f.scaleColor(c, theme.PrimaryColor(), theme.ForegroundColor()) + return f.scaleColor(c, theme.Color(theme.ColorNamePrimary), theme.Color(theme.ColorNameForeground)) } //lint:ignore U1000 See TODO inside the .Show() method. diff --git a/main.go b/main.go index ddad3a7..54deaf4 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,7 @@ func main() { a := app.New() a.SetIcon(resourceIconPng) - content := container.NewMax() + content := container.NewStack() w := a.NewWindow("Examples") apps[4].icon = theme.RadioButtonIcon() // lazy load Fyne resource to avoid error diff --git a/xkcd/main.go b/xkcd/main.go index 3688348..6177c2b 100644 --- a/xkcd/main.go +++ b/xkcd/main.go @@ -4,7 +4,6 @@ import ( "encoding/json" "fmt" "io" - "io/ioutil" "log" "math/rand" "net/http" @@ -71,7 +70,7 @@ func (x *XKCD) Submit() { } defer resp.Body.Close() if resp.StatusCode == http.StatusOK { - data, _ := ioutil.ReadAll(resp.Body) + data, _ := io.ReadAll(resp.Body) json.Unmarshal(data, x) x.DataToScreen() } else { @@ -86,7 +85,7 @@ func (x *XKCD) downloadImage(url string) { } defer response.Body.Close() - file, err := ioutil.TempFile(os.TempDir(), "xkcd.png") + file, err := os.CreateTemp(os.TempDir(), "xkcd.png") if err != nil { log.Fatal(err) } From da8df80e98e3d55f2bb49c23810e561f3a540226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20Alz=C3=A9n?= Date: Sun, 2 Nov 2025 17:54:42 +0100 Subject: [PATCH 3/7] Base workflows on those in fyne-io/fyne --- .github/workflows/platform_tests.yml | 56 +++++++++++--------- .github/workflows/static_analysis.yml | 75 ++++++++++++++++----------- 2 files changed, 76 insertions(+), 55 deletions(-) diff --git a/.github/workflows/platform_tests.yml b/.github/workflows/platform_tests.yml index 6fe4377..e34f56c 100644 --- a/.github/workflows/platform_tests.yml +++ b/.github/workflows/platform_tests.yml @@ -1,5 +1,7 @@ name: Platform Tests on: [push, pull_request] +permissions: + contents: read jobs: platform_tests: @@ -7,34 +9,38 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.19.x, 1.24.x] - os: [ubuntu-latest, windows-latest, macos-latest] + go-version: ["", "stable"] + os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v5 - - uses: actions/setup-go@v6 - with: - go-version: ${{ matrix.go-version }} + - uses: actions/checkout@v5 + with: + persist-credentials: false + - uses: actions/setup-go@v6 + with: + go-version: ${{ matrix.go-version }} + go-version-file: "go.mod" - - name: Get dependencies - run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev - if: ${{ runner.os == 'Linux' }} + - name: Get dependencies + run: | + sudo apt-get update + sudo apt-get install --no-install-recommends bc clang lld libgl1-mesa-dev libwayland-dev libx11-dev libxkbcommon-dev xorg-dev xvfb language-pack-en + echo "CC=clang" >> "$GITHUB_ENV" + echo "CGO_LDFLAGS=-fuse-ld=lld" >> "$GITHUB_ENV" + if: ${{ runner.os == 'Linux' }} - - name: Tests - run: go test -tags ci ./... + - name: Test + run: go test -tags ci -covermode=atomic -coverprofile=coverage.out ./... - - name: Update coverage - run: | - go get github.com/mattn/goveralls@latest - set -e - go test -tags ci -covermode=atomic -coverprofile=coverage.out ./... - if [ $coverage -lt 69 ]; then echo "Test coverage lowered"; exit 1; fi - if: ${{ runner.os == 'Linux' }} + - name: Update coverage + run: | + set -e + coverage=`go tool cover -func coverage.out | grep total | tr -s '\t' | cut -f 3 | grep -o '[^%]*'` + if (( $(echo "$coverage < 69" | bc) )); then echo "Test coverage lowered"; exit 1; fi + if: ${{ runner.os == 'Linux' && matrix.go-version == 'stable' }} - - name: Update PR Coverage - uses: shogo82148/actions-goveralls@v1 - env: - GOROOT: ${{steps.setup-go-faster.outputs.GOROOT}} - with: - path-to-profile: coverage.out - if: ${{ runner.os == 'Linux' && github.event_name == 'push' }} + - name: Update PR Coverage + uses: shogo82148/actions-goveralls@v1 + with: + path-to-profile: coverage.out + if: ${{ runner.os == 'Linux' && matrix.go-version == 'stable' }} diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 3634a3a..b59442b 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -1,37 +1,52 @@ name: Static Analysis on: [push, pull_request] +permissions: + contents: read +env: + CC: "clang" + CGO_LDFLAGS: "-fuse-ld=lld" jobs: checks: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-go@v6 - with: - go-version: '1.19.x' - - - name: Get dependencies - run: | - sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev - go install golang.org/x/tools/cmd/goimports@v0.24.1 - go install github.com/fzipp/gocyclo/cmd/gocyclo@latest - go install golang.org/x/lint/golint@latest - go install honnef.co/go/tools/cmd/staticcheck@v0.4.7 - - - name: Cleanup repository - run: rm -rf vendor/ - - - name: Vet - run: go vet -tags ci ./... - - name: Goimports - run: test -z $(goimports -e -d . | tee /dev/stderr) - - - name: Gocyclo - run: gocyclo -over 30 . - - - name: Golint - run: golint -set_exit_status $(go list -tags ci ./...) - - - name: Staticcheck - run: staticcheck -go 1.19 ./... + steps: + - uses: actions/checkout@v5 + with: + persist-credentials: false + - uses: actions/setup-go@v6 + with: + go-version: "stable" + + - name: Get dependencies + run: | + sudo apt-get update + sudo apt-get install --no-install-recommends clang lld libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev xvfb language-pack-en + + - name: Set environment variable LANG + run: export LANG=en_EN.UTF-8 + + - name: Install analysis tools + run: | + go install mvdan.cc/gofumpt@latest + go install golang.org/x/tools/cmd/goimports@latest + go install github.com/fzipp/gocyclo/cmd/gocyclo@latest + go install honnef.co/go/tools/cmd/staticcheck@latest + go install lucor.dev/lian@latest + + - name: Vet + run: go vet ./... + + - name: Formatting + run: | + gofumpt -d -e . + test -z "$(goimports -e -d . | tee /dev/stderr)" + + - name: Gocyclo + run: gocyclo -over 30 . + + - name: Staticcheck + run: staticcheck ./... + + - name: Check license of dependencies + run: lian -d --allowed="Apache-2.0, BSD-2-Clause, BSD-3-Clause, MIT, ISC" From 77cae52b9c212ba4cf0a39dc6e1c2704369a8ed9 Mon Sep 17 00:00:00 2001 From: Jacalz Date: Sun, 2 Nov 2025 18:09:31 +0100 Subject: [PATCH 4/7] Regenerate bundled content --- bugs/bundled.go | 31 ++++++++++++++++++------------- data.go | 15 ++++++++++----- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/bugs/bundled.go b/bugs/bundled.go index 63e7146..48391c8 100644 --- a/bugs/bundled.go +++ b/bugs/bundled.go @@ -1,26 +1,31 @@ // auto-generated +// Code generated by '$ fyne bundle'. DO NOT EDIT. package bugs -import "fyne.io/fyne/v2" +import ( + _ "embed" + "fyne.io/fyne/v2" +) + +//go:embed code.svg +var codeIconData []byte var codeIcon = &fyne.StaticResource{ - StaticName: "code.svg", - StaticContent: []byte{ - 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 86, 48, 122, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 57, 46, 52, 32, 49, 54, 46, 54, 76, 52, 46, 56, 32, 49, 50, 108, 52, 46, 54, 45, 52, 46, 54, 76, 56, 32, 54, 108, 45, 54, 32, 54, 32, 54, 32, 54, 32, 49, 46, 52, 45, 49, 46, 52, 122, 109, 53, 46, 50, 32, 48, 108, 52, 46, 54, 45, 52, 46, 54, 45, 52, 46, 54, 45, 52, 46, 54, 76, 49, 54, 32, 54, 108, 54, 32, 54, 45, 54, 32, 54, 45, 49, 46, 52, 45, 49, 46, 52, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62, - }, + StaticName: "code.svg", + StaticContent: codeIconData, } +//go:embed bug.svg +var bugIconData []byte var bugIcon = &fyne.StaticResource{ - StaticName: "bug.svg", - StaticContent: []byte{ - 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 122, 34, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 50, 48, 32, 56, 104, 45, 50, 46, 56, 49, 99, 45, 46, 52, 53, 45, 46, 55, 56, 45, 49, 46, 48, 55, 45, 49, 46, 52, 53, 45, 49, 46, 56, 50, 45, 49, 46, 57, 54, 76, 49, 55, 32, 52, 46, 52, 49, 32, 49, 53, 46, 53, 57, 32, 51, 108, 45, 50, 46, 49, 55, 32, 50, 46, 49, 55, 67, 49, 50, 46, 57, 54, 32, 53, 46, 48, 54, 32, 49, 50, 46, 52, 57, 32, 53, 32, 49, 50, 32, 53, 99, 45, 46, 52, 57, 32, 48, 45, 46, 57, 54, 46, 48, 54, 45, 49, 46, 52, 49, 46, 49, 55, 76, 56, 46, 52, 49, 32, 51, 32, 55, 32, 52, 46, 52, 49, 108, 49, 46, 54, 50, 32, 49, 46, 54, 51, 67, 55, 46, 56, 56, 32, 54, 46, 53, 53, 32, 55, 46, 50, 54, 32, 55, 46, 50, 50, 32, 54, 46, 56, 49, 32, 56, 72, 52, 118, 50, 104, 50, 46, 48, 57, 99, 45, 46, 48, 53, 46, 51, 51, 45, 46, 48, 57, 46, 54, 54, 45, 46, 48, 57, 32, 49, 118, 49, 72, 52, 118, 50, 104, 50, 118, 49, 99, 48, 32, 46, 51, 52, 46, 48, 52, 46, 54, 55, 46, 48, 57, 32, 49, 72, 52, 118, 50, 104, 50, 46, 56, 49, 99, 49, 46, 48, 52, 32, 49, 46, 55, 57, 32, 50, 46, 57, 55, 32, 51, 32, 53, 46, 49, 57, 32, 51, 115, 52, 46, 49, 53, 45, 49, 46, 50, 49, 32, 53, 46, 49, 57, 45, 51, 72, 50, 48, 118, 45, 50, 104, 45, 50, 46, 48, 57, 99, 46, 48, 53, 45, 46, 51, 51, 46, 48, 57, 45, 46, 54, 54, 46, 48, 57, 45, 49, 118, 45, 49, 104, 50, 118, 45, 50, 104, 45, 50, 118, 45, 49, 99, 48, 45, 46, 51, 52, 45, 46, 48, 52, 45, 46, 54, 55, 45, 46, 48, 57, 45, 49, 72, 50, 48, 86, 56, 122, 109, 45, 54, 32, 56, 104, 45, 52, 118, 45, 50, 104, 52, 118, 50, 122, 109, 48, 45, 52, 104, 45, 52, 118, 45, 50, 104, 52, 118, 50, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62, - }, + StaticName: "bug.svg", + StaticContent: bugIconData, } +//go:embed flag.svg +var flagIconData []byte var flagIcon = &fyne.StaticResource{ - StaticName: "flag.svg", - StaticContent: []byte{ - 60, 115, 118, 103, 32, 120, 109, 108, 110, 115, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 119, 51, 46, 111, 114, 103, 47, 50, 48, 48, 48, 47, 115, 118, 103, 34, 32, 119, 105, 100, 116, 104, 61, 34, 50, 52, 34, 32, 104, 101, 105, 103, 104, 116, 61, 34, 50, 52, 34, 32, 118, 105, 101, 119, 66, 111, 120, 61, 34, 48, 32, 48, 32, 50, 52, 32, 50, 52, 34, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 48, 32, 48, 104, 50, 52, 118, 50, 52, 72, 48, 122, 34, 32, 102, 105, 108, 108, 61, 34, 110, 111, 110, 101, 34, 47, 62, 60, 112, 97, 116, 104, 32, 100, 61, 34, 77, 49, 32, 50, 49, 104, 50, 50, 76, 49, 50, 32, 50, 32, 49, 32, 50, 49, 122, 109, 49, 50, 45, 51, 104, 45, 50, 118, 45, 50, 104, 50, 118, 50, 122, 109, 48, 45, 52, 104, 45, 50, 118, 45, 52, 104, 50, 118, 52, 122, 34, 47, 62, 60, 47, 115, 118, 103, 62, - }, + StaticName: "flag.svg", + StaticContent: flagIconData, } diff --git a/data.go b/data.go index 0a223ae..c50570a 100644 --- a/data.go +++ b/data.go @@ -1,12 +1,17 @@ // auto-generated +// Code generated by '$ fyne bundle'. DO NOT EDIT. package main -import "fyne.io/fyne/v2" +import ( + _ "embed" + "fyne.io/fyne/v2" +) + +//go:embed Icon.png +var resourceIconPngData []byte var resourceIconPng = &fyne.StaticResource{ - StaticName: "Icon.png", - StaticContent: []byte{ - 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 1, 0, 0, 0, 1, 0, 8, 0, 0, 0, 0, 121, 25, 247, 186, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 1, 147, 0, 0, 1, 147, 1, 140, 78, 202, 19, 0, 0, 0, 25, 116, 69, 88, 116, 83, 111, 102, 116, 119, 97, 114, 101, 0, 119, 119, 119, 46, 105, 110, 107, 115, 99, 97, 112, 101, 46, 111, 114, 103, 155, 238, 60, 26, 0, 0, 8, 212, 73, 68, 65, 84, 120, 218, 237, 221, 253, 87, 20, 85, 24, 7, 112, 254, 180, 186, 179, 176, 139, 11, 235, 75, 234, 154, 10, 145, 120, 80, 148, 208, 34, 197, 151, 76, 142, 128, 133, 40, 69, 162, 29, 80, 219, 2, 73, 201, 52, 9, 18, 216, 3, 150, 102, 161, 212, 154, 39, 76, 225, 144, 22, 66, 224, 11, 138, 130, 8, 184, 46, 147, 56, 251, 50, 15, 9, 115, 119, 187, 187, 247, 238, 125, 230, 254, 202, 238, 89, 158, 207, 188, 220, 153, 239, 220, 123, 39, 129, 32, 111, 9, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 16, 47, 45, 113, 249, 59, 123, 170, 207, 252, 240, 179, 231, 90, 207, 192, 192, 173, 238, 78, 207, 143, 205, 213, 229, 239, 101, 47, 177, 32, 0, 88, 185, 235, 152, 103, 240, 153, 250, 210, 118, 46, 89, 114, 0, 103, 89, 235, 144, 58, 107, 155, 58, 170, 72, 125, 8, 100, 84, 247, 168, 115, 181, 167, 187, 101, 62, 7, 56, 42, 186, 212, 185, 219, 240, 91, 18, 159, 4, 179, 206, 76, 24, 148, 175, 222, 92, 46, 111, 47, 144, 219, 62, 101, 84, 190, 218, 145, 42, 109, 55, 184, 198, 163, 26, 183, 19, 22, 34, 41, 192, 210, 86, 227, 173, 175, 122, 203, 100, 189, 16, 82, 202, 198, 40, 54, 255, 72, 158, 172, 87, 130, 111, 118, 235, 55, 243, 192, 111, 77, 199, 62, 175, 42, 47, 171, 116, 29, 107, 185, 114, 199, 23, 252, 67, 95, 186, 164, 151, 194, 202, 167, 147, 129, 26, 7, 154, 203, 50, 103, 28, 229, 73, 217, 229, 205, 125, 211, 127, 243, 204, 151, 244, 94, 96, 193, 37, 127, 245, 119, 191, 90, 59, 235, 101, 241, 254, 142, 211, 73, 146, 222, 12, 101, 223, 214, 202, 255, 187, 216, 18, 213, 223, 17, 21, 160, 64, 187, 242, 25, 218, 165, 68, 249, 135, 4, 5, 168, 212, 58, 191, 214, 249, 81, 255, 37, 33, 1, 148, 227, 218, 121, 191, 4, 105, 32, 162, 212, 191, 168, 255, 73, 62, 210, 68, 72, 249, 246, 69, 253, 147, 185, 4, 41, 128, 182, 255, 171, 165, 4, 41, 128, 75, 171, 191, 142, 32, 5, 40, 212, 206, 255, 125, 54, 164, 0, 27, 189, 90, 188, 247, 54, 193, 9, 224, 28, 214, 14, 0, 55, 193, 9, 144, 212, 169, 213, 239, 75, 71, 10, 112, 210, 127, 255, 211, 70, 112, 2, 108, 242, 167, 63, 83, 153, 56, 1, 22, 4, 30, 122, 92, 38, 56, 1, 220, 129, 252, 99, 55, 78, 128, 188, 64, 252, 57, 150, 140, 18, 32, 121, 48, 176, 3, 52, 16, 148, 0, 174, 96, 202, 153, 135, 18, 96, 233, 120, 160, 254, 199, 73, 40, 1, 154, 130, 59, 64, 27, 193, 8, 176, 204, 27, 4, 40, 68, 9, 208, 16, 172, 255, 217, 124, 140, 0, 75, 130, 207, 64, 212, 46, 130, 17, 224, 100, 232, 17, 88, 29, 70, 128, 215, 116, 227, 31, 182, 97, 4, 168, 209, 141, 116, 114, 32, 4, 176, 220, 13, 1, 244, 16, 132, 0, 91, 117, 79, 193, 235, 49, 2, 156, 211, 1, 148, 34, 4, 88, 240, 84, 7, 144, 133, 16, 224, 160, 126, 28, 72, 18, 66, 128, 155, 58, 128, 110, 130, 15, 32, 77, 63, 224, 169, 17, 33, 128, 254, 8, 80, 43, 228, 1, 40, 161, 221, 152, 96, 32, 228, 38, 105, 0, 74, 220, 23, 233, 62, 104, 215, 247, 1, 170, 83, 22, 128, 162, 54, 7, 37, 64, 129, 190, 254, 49, 69, 18, 128, 162, 182, 212, 20, 74, 128, 38, 61, 192, 117, 34, 7, 192, 243, 250, 237, 148, 0, 10, 152, 2, 210, 34, 7, 192, 116, 253, 180, 0, 43, 193, 176, 223, 35, 82, 0, 188, 168, 159, 22, 160, 24, 0, 20, 203, 0, 160, 213, 79, 11, 112, 10, 0, 228, 72, 0, 224, 175, 159, 22, 224, 58, 0, 88, 28, 255, 0, 129, 250, 41, 1, 172, 224, 42, 96, 66, 137, 123, 128, 96, 253, 148, 0, 57, 96, 7, 232, 53, 234, 50, 94, 17, 29, 160, 196, 157, 98, 15, 0, 220, 58, 68, 209, 218, 1, 128, 209, 87, 142, 172, 23, 28, 64, 87, 191, 221, 190, 157, 166, 253, 10, 0, 46, 26, 124, 186, 246, 218, 74, 161, 1, 66, 251, 63, 117, 187, 10, 0, 92, 6, 159, 46, 186, 49, 186, 82, 96, 128, 8, 234, 183, 63, 0, 0, 37, 134, 0, 42, 107, 129, 4, 190, 245, 47, 134, 243, 191, 242, 140, 1, 88, 11, 36, 112, 173, 223, 158, 11, 1, 210, 41, 0, 24, 11, 36, 68, 229, 252, 71, 221, 74, 224, 4, 200, 84, 26, 0, 182, 2, 204, 0, 26, 63, 137, 160, 126, 123, 13, 0, 24, 180, 83, 1, 48, 21, 96, 6, 160, 212, 31, 136, 0, 160, 13, 0, 252, 78, 9, 192, 82, 128, 221, 57, 32, 34, 129, 63, 0, 64, 43, 45, 0, 67, 1, 134, 189, 64, 36, 2, 247, 0, 192, 151, 212, 0, 236, 4, 88, 94, 7, 132, 47, 224, 128, 139, 161, 148, 211, 3, 168, 35, 43, 4, 188, 18, 12, 91, 96, 21, 236, 5, 183, 27, 2, 12, 171, 172, 5, 216, 222, 11, 40, 141, 161, 141, 152, 50, 58, 52, 107, 123, 240, 80, 107, 163, 51, 230, 193, 63, 52, 106, 62, 221, 167, 217, 28, 5, 140, 239, 6, 117, 251, 64, 74, 183, 26, 229, 198, 68, 128, 117, 30, 16, 18, 136, 62, 0, 19, 1, 230, 137, 80, 80, 32, 6, 0, 44, 4, 216, 103, 130, 1, 129, 88, 0, 48, 16, 136, 66, 42, 236, 23, 136, 9, 128, 250, 40, 241, 85, 241, 158, 11, 104, 2, 49, 1, 240, 109, 78, 18, 111, 15, 240, 11, 196, 2, 224, 255, 215, 31, 165, 103, 131, 211, 2, 49, 0, 96, 80, 127, 180, 158, 14, 63, 23, 136, 62, 0, 139, 250, 163, 54, 62, 64, 169, 63, 216, 29, 15, 245, 71, 111, 132, 136, 210, 208, 213, 111, 212, 30, 195, 245, 0, 251, 141, 219, 132, 190, 126, 43, 17, 25, 128, 144, 215, 29, 70, 173, 3, 46, 8, 103, 248, 121, 135, 53, 244, 24, 193, 183, 137, 205, 136, 66, 174, 163, 196, 254, 4, 0, 167, 141, 191, 16, 2, 96, 179, 255, 243, 6, 24, 1, 0, 85, 97, 0, 48, 171, 159, 43, 128, 29, 158, 212, 138, 232, 1, 216, 213, 207, 21, 96, 70, 28, 146, 75, 13, 192, 176, 126, 174, 0, 91, 32, 128, 147, 22, 128, 101, 253, 92, 1, 202, 64, 253, 207, 18, 41, 1, 152, 214, 207, 21, 224, 40, 0, 184, 77, 232, 0, 216, 214, 207, 21, 192, 13, 159, 138, 208, 1, 48, 174, 159, 43, 192, 21, 248, 84, 132, 10, 128, 117, 253, 92, 1, 6, 1, 64, 45, 13, 64, 7, 235, 250, 121, 2, 40, 94, 0, 240, 17, 13, 128, 211, 74, 228, 1, 88, 10, 123, 193, 173, 20, 95, 73, 100, 63, 163, 136, 35, 0, 28, 33, 167, 102, 242, 249, 47, 56, 2, 236, 130, 0, 41, 232, 0, 42, 97, 192, 77, 208, 1, 192, 97, 210, 55, 240, 1, 92, 0, 0, 237, 248, 0, 122, 194, 141, 67, 100, 3, 120, 4, 0, 14, 161, 3, 72, 86, 57, 207, 21, 225, 13, 144, 17, 118, 28, 34, 25, 192, 230, 176, 227, 16, 201, 0, 246, 134, 29, 135, 72, 6, 80, 29, 118, 28, 34, 25, 64, 115, 216, 113, 136, 100, 0, 151, 195, 142, 67, 36, 3, 232, 15, 59, 14, 145, 11, 64, 153, 4, 0, 31, 163, 3, 152, 49, 87, 100, 27, 58, 128, 117, 66, 196, 33, 28, 1, 10, 32, 64, 42, 58, 0, 176, 116, 138, 58, 70, 208, 1, 124, 13, 223, 22, 136, 15, 224, 188, 16, 113, 8, 71, 128, 46, 33, 226, 16, 142, 0, 195, 66, 196, 33, 252, 0, 108, 83, 66, 196, 33, 252, 0, 210, 197, 136, 67, 248, 1, 188, 11, 1, 150, 161, 3, 40, 133, 131, 62, 19, 209, 1, 124, 1, 0, 238, 16, 116, 0, 103, 0, 64, 39, 62, 0, 143, 24, 113, 8, 63, 128, 62, 56, 103, 22, 29, 128, 50, 33, 70, 28, 194, 13, 96, 145, 32, 113, 8, 55, 128, 108, 65, 226, 16, 110, 0, 59, 5, 137, 67, 184, 1, 28, 16, 36, 14, 225, 6, 112, 66, 144, 56, 132, 27, 192, 57, 65, 226, 16, 110, 0, 112, 21, 193, 122, 124, 0, 247, 1, 192, 97, 116, 0, 86, 81, 226, 16, 94, 0, 105, 176, 23, 220, 128, 14, 32, 79, 148, 56, 132, 23, 64, 137, 40, 113, 8, 47, 0, 151, 40, 113, 8, 47, 128, 239, 68, 137, 67, 120, 1, 252, 34, 74, 28, 194, 11, 160, 87, 148, 56, 132, 23, 192, 56, 92, 66, 12, 29, 192, 66, 97, 226, 16, 78, 0, 107, 32, 192, 106, 116, 0, 59, 32, 128, 3, 29, 64, 133, 48, 113, 8, 39, 128, 58, 97, 226, 16, 78, 0, 223, 195, 5, 197, 241, 1, 192, 165, 84, 79, 225, 3, 0, 47, 150, 137, 253, 219, 181, 184, 3, 36, 249, 196, 185, 12, 224, 2, 176, 2, 246, 130, 25, 232, 0, 96, 28, 50, 101, 69, 7, 176, 7, 46, 40, 78, 208, 1, 192, 209, 33, 30, 124, 0, 45, 0, 160, 1, 31, 0, 92, 59, 164, 18, 31, 0, 92, 59, 228, 125, 116, 0, 22, 175, 56, 55, 195, 92, 0, 150, 193, 25, 147, 54, 116, 0, 27, 5, 186, 23, 228, 2, 240, 129, 56, 145, 48, 31, 0, 151, 72, 157, 0, 15, 0, 248, 84, 36, 31, 31, 0, 28, 36, 186, 8, 31, 0, 152, 51, 59, 64, 208, 1, 192, 57, 179, 109, 248, 0, 150, 8, 20, 7, 113, 1, 200, 225, 252, 154, 89, 238, 0, 69, 224, 45, 171, 73, 248, 0, 14, 131, 229, 180, 9, 62, 128, 6, 145, 46, 131, 120, 0, 128, 215, 172, 102, 35, 4, 184, 173, 171, 127, 216, 130, 15, 0, 140, 145, 108, 38, 248, 0, 50, 245, 71, 64, 1, 66, 0, 253, 84, 9, 111, 10, 66, 128, 26, 65, 134, 201, 115, 3, 184, 164, 3, 40, 196, 8, 160, 27, 40, 63, 62, 15, 33, 128, 83, 183, 3, 184, 9, 66, 128, 66, 145, 110, 132, 120, 0, 232, 242, 176, 30, 130, 17, 64, 247, 84, 168, 20, 35, 128, 110, 170, 200, 80, 50, 70, 128, 10, 33, 38, 76, 115, 4, 184, 26, 154, 37, 97, 197, 8, 224, 156, 18, 98, 166, 24, 63, 128, 208, 148, 225, 78, 5, 35, 128, 242, 87, 112, 158, 84, 22, 193, 8, 16, 26, 30, 118, 156, 160, 4, 8, 46, 168, 223, 107, 67, 9, 144, 22, 24, 33, 234, 93, 75, 80, 2, 180, 5, 118, 128, 3, 4, 37, 64, 102, 160, 15, 188, 160, 224, 4, 8, 68, 33, 189, 41, 4, 37, 64, 113, 32, 10, 79, 35, 40, 1, 22, 250, 151, 144, 156, 88, 79, 80, 2, 40, 254, 69, 84, 189, 249, 4, 39, 128, 255, 145, 168, 119, 7, 193, 9, 176, 69, 235, 1, 188, 59, 9, 78, 128, 220, 39, 218, 241, 47, 220, 246, 143, 17, 64, 238, 152, 246, 58, 177, 13, 4, 39, 192, 251, 218, 246, 191, 151, 73, 80, 2, 40, 85, 218, 241, 223, 227, 36, 40, 1, 210, 252, 239, 18, 113, 219, 8, 70, 0, 155, 75, 27, 21, 56, 89, 65, 8, 66, 0, 123, 197, 61, 255, 229, 127, 22, 145, 20, 96, 71, 199, 225, 220, 89, 70, 186, 41, 27, 235, 71, 252, 51, 3, 79, 39, 19, 57, 1, 44, 181, 211, 231, 183, 241, 203, 117, 197, 171, 102, 172, 133, 148, 81, 218, 124, 55, 112, 247, 255, 96, 59, 33, 114, 2, 44, 212, 13, 248, 242, 14, 94, 105, 57, 238, 170, 44, 219, 95, 85, 123, 242, 167, 155, 186, 69, 82, 124, 223, 56, 136, 164, 0, 107, 224, 236, 175, 151, 183, 238, 117, 132, 72, 10, 176, 239, 169, 113, 249, 247, 247, 42, 68, 82, 0, 107, 163, 113, 249, 195, 85, 201, 132, 72, 10, 224, 188, 46, 71, 249, 145, 2, 228, 63, 50, 42, 191, 243, 67, 43, 33, 178, 2, 40, 85, 190, 185, 171, 31, 109, 88, 77, 226, 165, 69, 0, 224, 104, 159, 123, 215, 111, 218, 105, 35, 68, 98, 128, 212, 174, 217, 139, 247, 245, 212, 230, 40, 36, 174, 90, 4, 123, 128, 37, 231, 51, 207, 216, 127, 139, 255, 231, 236, 193, 13, 243, 72, 220, 181, 8, 123, 1, 101, 213, 238, 154, 179, 157, 55, 6, 250, 187, 59, 61, 231, 221, 53, 251, 54, 191, 97, 35, 241, 217, 18, 8, 242, 102, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 152, 0, 38, 128, 9, 96, 2, 96, 108, 255, 2, 197, 33, 52, 81, 15, 83, 174, 161, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130, - }, + StaticName: "Icon.png", + StaticContent: resourceIconPngData, } From 6cd34c421e5de00f14d28c68a4f069243d8d578b Mon Sep 17 00:00:00 2001 From: Jacalz Date: Sun, 2 Nov 2025 20:03:24 +0100 Subject: [PATCH 5/7] Wow, actual coverage is 13.5% and not 60% --- .github/workflows/platform_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform_tests.yml b/.github/workflows/platform_tests.yml index e34f56c..d309a55 100644 --- a/.github/workflows/platform_tests.yml +++ b/.github/workflows/platform_tests.yml @@ -36,7 +36,7 @@ jobs: run: | set -e coverage=`go tool cover -func coverage.out | grep total | tr -s '\t' | cut -f 3 | grep -o '[^%]*'` - if (( $(echo "$coverage < 69" | bc) )); then echo "Test coverage lowered"; exit 1; fi + if (( $(echo "$coverage < 13" | bc) )); then echo "Test coverage lowered"; exit 1; fi if: ${{ runner.os == 'Linux' && matrix.go-version == 'stable' }} - name: Update PR Coverage From dfe84acc0816b06122bd1dff5031b4f21e34171c Mon Sep 17 00:00:00 2001 From: Jacalz Date: Mon, 3 Nov 2025 09:38:20 +0100 Subject: [PATCH 6/7] Add back Windows test --- .github/workflows/platform_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform_tests.yml b/.github/workflows/platform_tests.yml index d309a55..100b0b3 100644 --- a/.github/workflows/platform_tests.yml +++ b/.github/workflows/platform_tests.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: go-version: ["", "stable"] - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v5 From a62e0ac7ffa0ffb71d1e06e46bf21fc86a7aa8a4 Mon Sep 17 00:00:00 2001 From: Jacalz Date: Mon, 3 Nov 2025 09:44:36 +0100 Subject: [PATCH 7/7] PowerShell on Windows is not very smart... --- .github/workflows/platform_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform_tests.yml b/.github/workflows/platform_tests.yml index 100b0b3..1be72de 100644 --- a/.github/workflows/platform_tests.yml +++ b/.github/workflows/platform_tests.yml @@ -30,7 +30,7 @@ jobs: if: ${{ runner.os == 'Linux' }} - name: Test - run: go test -tags ci -covermode=atomic -coverprofile=coverage.out ./... + run: go test -tags ci -covermode=atomic -coverprofile="coverage.out" ./... - name: Update coverage run: |