##
## This file is part of the PulseView project.
##
-## Copyright (C) 2013-2014 Uwe Hermann <uwe@hermann-uwe.de>
+## Copyright (C) 2013-2020 Uwe Hermann <uwe@hermann-uwe.de>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
# Python
File "${CROSS}/python34.dll"
File "${CROSS}/python34.zip"
+ File "${CROSS}/*.pyd"
SetOutPath "$INSTDIR\share"
0 SW_SHOWNORMAL \
"" "Open-source, portable sigrok GUI"
+ # Create a shortcut for the PulseView application in "safe mode".
+ CreateShortCut "$SMPROGRAMS\sigrok\PulseView\PulseView (Safe Mode).lnk" \
+ "$INSTDIR\pulseview.exe" "-c -D" "$INSTDIR\pulseview.exe" \
+ 0 SW_SHOWNORMAL \
+ "" "Open-source, portable sigrok GUI (Safe Mode)"
+
# Create a shortcut for the PulseView application running in debug mode.
CreateShortCut "$SMPROGRAMS\sigrok\PulseView\PulseView (Debug).lnk" \
"$INSTDIR\pulseview.exe" "-l 5" "$INSTDIR\pulseview.exe" \
Delete "$INSTDIR\zadig_xp.exe"
Delete "$INSTDIR\python34.dll"
Delete "$INSTDIR\python34.zip"
+ Delete "$INSTDIR\*.pyd"
# Delete all decoders and everything else in libsigrokdecode/.
# There could be *.pyc files or __pycache__ subdirs and so on.
# Delete the links from the start menu.
Delete "$SMPROGRAMS\sigrok\PulseView\PulseView.lnk"
+ Delete "$SMPROGRAMS\sigrok\PulseView\PulseView (Safe Mode).lnk"
Delete "$SMPROGRAMS\sigrok\PulseView\PulseView (Debug).lnk"
Delete "$SMPROGRAMS\sigrok\PulseView\Uninstall PulseView.lnk"
Delete "$SMPROGRAMS\sigrok\PulseView\Zadig (PulseView).lnk"