From 1862428a0f4eec5d90dab4208d1bcd0dd0513438 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 20 Dec 2024 10:32:17 +0800 Subject: [PATCH] feature: supports `Warp` terminal on macOS (#829) Signed-off-by: leo --- src/Models/ShellOrTerminal.cs | 1 + src/Native/MacOS.cs | 2 ++ src/Resources/Images/ShellIcons/warp.png | Bin 0 -> 2742 bytes 3 files changed, 3 insertions(+) create mode 100644 src/Resources/Images/ShellIcons/warp.png diff --git a/src/Models/ShellOrTerminal.cs b/src/Models/ShellOrTerminal.cs index 8ab25788..1decdcfa 100644 --- a/src/Models/ShellOrTerminal.cs +++ b/src/Models/ShellOrTerminal.cs @@ -41,6 +41,7 @@ namespace SourceGit.Models { new ShellOrTerminal("mac-terminal", "Terminal", ""), new ShellOrTerminal("iterm2", "iTerm", ""), + new ShellOrTerminal("warp", "Warp", ""), }; } else diff --git a/src/Native/MacOS.cs b/src/Native/MacOS.cs index 9660920d..62ae8c89 100644 --- a/src/Native/MacOS.cs +++ b/src/Native/MacOS.cs @@ -36,6 +36,8 @@ namespace SourceGit.Native return "Terminal"; case "iterm2": return "iTerm"; + case "warp": + return "Warp"; } return string.Empty; diff --git a/src/Resources/Images/ShellIcons/warp.png b/src/Resources/Images/ShellIcons/warp.png new file mode 100644 index 0000000000000000000000000000000000000000..7d604d8ea677fbdd3092757b452d26026ddf3c82 GIT binary patch literal 2742 zcmV;n3Q6^eP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXf3QI{uK~#8N?VDR{ zT*Vp3|8vgnI`PJrWPOXhUgzT2rb129v{8gD0#TEufSja(AhiNs;3c9_qCP}@Y1#ti zEeR9}$U`L~R2Sj8RYXy$fR)rv)I}Xx^?TD*Is*V z;@r7&1^}{B!4xV0d-c^pXqh_>bn0Wb{17zJ=O8jZen z@#4k5JpJ_3Q-z3;cc*vm-03)d`t)OEWo5r)jQIu!2Qe@(fRT|AL?RJLDM6HaUG=zF zEQd-t)-(;}<>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