From 9aa49cae09edc99793008da6779e3ecc7a50bdee Mon Sep 17 00:00:00 2001 From: NewtonChutney <70827815+NewtonChutney@users.noreply.github.com> Date: Mon, 25 Dec 2023 22:34:43 +0530 Subject: [PATCH] injecting the icon through a resource file, no extra deps --- contrib/helix-icon-windows.lib | Bin 0 -> 10636 bytes helix-term/build.rs | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 contrib/helix-icon-windows.lib diff --git a/contrib/helix-icon-windows.lib b/contrib/helix-icon-windows.lib new file mode 100644 index 0000000000000000000000000000000000000000..faaf44ee8705419114495113415863f861ed5f12 GIT binary patch literal 10636 zcmY*f1ymH#yPpkO0f7bS25C?!K|<*+LCHlhKq=`EmJkGyR6r1EX{48CQD8v?q;p{@ z>7}IWjsO37=e)Oj=IrducW3UsU;VxS007_skIT#d9^mQ!`&<$D-}^9-2J)YK)YN3~ z|0Rkv&{Mxk&O{FWzpAOBVgvyHXdnP7G5BNos^ICr;hHMSCO)4xalQc`M(Qy;v!6D| zsO`z1%JE7gMR~(-FqtD$Qz8l;uj7kltmYriTg$!~RTNj24oAL_ z?&=_IN3!S32|mI-Dr`8&-!|$@8lRpmii?#yHU{4ENl#c3X)$cHD1IXO%|jyngHuOO ztlgtdjc|B5))#X#4t@H%ZSLYl(rOI0(o*ab4WPs%4m%nhN4i}eTCjf_!f(CouMJK!Pgjr+bytu0f|pcL z;ye|pKRx|c*gL=){e(9`7toRtClN3Mr@wXdt+pqs zbQnpCS$+@wqF(-Mi-PSI?%6X6qmJA{h0f0>PB>eh&$@sO59%?VHPYw%76s)nYaAj- zD7h7r7kl1kY{+n8q-v$%EkkCvVUjXy=Fiu~K)Y=^g*rtMiCvx_lzl9|h(n>PJqin6 z90|UC$2-lBwDL6!CdAGEGzB80;B|_VR>X1F zIua{v{=iKE|3pki@GF6i(?j7eDR?xRChM`&jjL@Ls4eJ=;G0N?o2IZ@=-U{e50XU2 zxdk#yeTA|ss(H79$QGZ~6%<1hNOe||E$U(N1ZVm>x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