fix: try to fix error on update on computer switch off

This commit is contained in:
2026-05-19 08:11:28 +02:00
parent 4ba70cefc6
commit 8d0d9835be
7 changed files with 161 additions and 20 deletions

30
data/cachyos-updater.svg Normal file
View File

@ -0,0 +1,30 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<defs>
<linearGradient id="a" x1="12" y1="2" x2="20" y2="13" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#00ffcc"/>
<stop offset="1" stop-color="#00ccff"/>
</linearGradient>
<linearGradient id="b" x1="12" y1="22" x2="4" y2="11" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#00aa88"/>
<stop offset="1" stop-color="#00ccff" stop-opacity=".55"/>
</linearGradient>
<linearGradient id="c" x1="8" y1="8" x2="16" y2="16" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#00ffcc"/>
<stop offset="1" stop-color="#020202" stop-opacity="0"/>
</linearGradient>
</defs>
<!-- Flèche du haut (gradient cyan clair → bleu) -->
<path fill="url(#a)"
d="M12 6v3l4-4-4-4v3C7.58 4 4 7.58 4 12c0 1.57.46 3.03 1.24 4.26L6.7 14.8
C6.25 13.97 6 13.01 6 12c0-3.31 2.69-6 6-6z"/>
<!-- Flèche du bas (gradient teal → cyan transparent) -->
<path fill="url(#b)"
d="M18.76 7.74 17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3
c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/>
<!-- Reflet interne (style CachyOS) -->
<path fill="url(#c)"
d="M12 6v3l2.12-2.12A5.99 5.99 0 0 0 12 6z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB