Skip to content

Commit 64870a8

Browse files
committed
git-update-git-for-windows: show toast icon on ARM64
Signed-off-by: Matthias Aßhauer <[email protected]>
1 parent 6b2e3ba commit 64870a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

git-extra/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ sha256sums=('8ed76d1cb069ac8568f21c431f5e23caebea502d932ab4cdff71396f4f0d5b72'
8484
'32223da4e1264d0c9663dd3d4b347131a634e96c2676d673ca58b2a6c58d2aea'
8585
'7436438b8db90ce4b79402a5383a688fa95831167b38f9f918f438ade199a44d'
8686
'22f41610dea842890955032af30efdb60e80f310e95a04e57ab36b10e0376923'
87-
'38c0cf57e03d275cdd42984f102bee8352fac672f875ab23c46b9625eefc49f3'
87+
'8120b41b869693e07acc4707a0ab45505e7c5e4156a3a44b19152f1f425df85f'
8888
'15b40ab72dea884f659cfbe441e9a40b2d8d63e490a3c14824a55607368e476d'
8989
'ebd1d20aa94be11c6b9bec7d33614d32016343d282c4716d0561ab41407c99bf'
9090
'97e89689d91747ddb5ee873ae864aebcbb8d0364a52fa198db1e439ee2965b9b'

git-extra/git-update-git-for-windows

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,10 @@ update_git_for_windows () {
249249
if test -d /clangarm64/bin
250250
then
251251
arch_bit=arm64
252+
prefix=/clangarm64
252253
else
253254
arch_bit=${bit}-bit
255+
prefix=/mingw$bit
254256
fi
255257

256258
echo "$git_label $version ($arch_bit)" >&2
@@ -296,7 +298,7 @@ update_git_for_windows () {
296298
then
297299
wintoast.exe --appname "$git_label" \
298300
--appid GitForWindows.Updater \
299-
--image /mingw$bit/share/git/git-for-windows.ico \
301+
--image $prefix/share/git/git-for-windows.ico \
300302
--text "Download and install $name$warn?" \
301303
--action Yes --action No --expirems 15000
302304
case $? in

0 commit comments

Comments
 (0)