1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-14 21:09:44 +01:00

Install snoresettings as "Notification Settings".

This enables the user to change the notification backend
and to configure the banckend.
Opening the shortcut will only work after Tomahawk was started
for a first time to initialize the settings.
An alternative would be to call snoresettings.exe from inside of
Tomahawk or to use the QWidget provided by libsnore.
This commit is contained in:
Hannah von Reth 2015-11-05 13:38:42 +01:00
parent c838af6d17
commit 84e0754bd7

View File

@ -398,6 +398,7 @@ Section "${APPLICATION_NAME}" SEC_TOMAHAWK_PLAYER
; Snorenotify
File "${MING_BIN}\SnoreToast.exe"
File "${MING_BIN}\libsnore-qt5.dll"
File "${MING_BIN}\snoresettings.exe"
File "${MING_LIB}\plugins\libsnore-qt5\libsnore_backend_growl.dll"
File "${MING_LIB}\plugins\libsnore-qt5\libsnore_backend_snarl.dll"
File "${MING_LIB}\plugins\libsnore-qt5\libsnore_backend_snore.dll"
@ -443,7 +444,7 @@ SectionGroup "Shortcuts"
RMDir /r "$SMPROGRAMS\${APPLICATION_NAME}"
CreateDirectory "$SMPROGRAMS\${APPLICATION_NAME}"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\LICENSE.lnk" "$INSTDIR\LICENSE.txt"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_NAME}.exe"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Notification Settings.lnk" "$INSTDIR\snoresettings.exe" "-a ${APPLICATION_NAME}"
!insertmacro SnoreShortcut "$SMPROGRAMS\${APPLICATION_NAME}\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_NAME}.exe" "${AppUserModelId}"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Release notes.lnk" "$INSTDIR\NOTES.txt"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe"