projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf627f7
)
Installer: Update icon cache also after uninstallation
author
Soeren Apel
<soeren@apelpie.net>
Sun, 4 Jun 2017 17:27:26 +0000
(19:27 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 4 Jun 2017 18:47:56 +0000
(20:47 +0200)
contrib/pulseview_cross.nsi.in
patch
|
blob
|
history
diff --git
a/contrib/pulseview_cross.nsi.in
b/contrib/pulseview_cross.nsi.in
index fe6b7736787cc83a5f3a6122bb623407e652973c..8f0a6fe9bc936d7036f4b89d197446b69255f001 100644
(file)
--- a/
contrib/pulseview_cross.nsi.in
+++ b/
contrib/pulseview_cross.nsi.in
@@
-269,6
+269,8
@@
Section "Uninstall"
# Unregister any previously registered file extension(s).
${unregisterExtension} ".sr" "sigrok session file"
+ # Force Windows to update the icon cache so that the icon for .sr files is reset.
+ System::Call 'Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, i 0, i 0)'
SectionEnd