Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 24 Aug 2014 06:48:22 UTC Commit: b01580a6d5c7da95f88e6dd374b736fc852bccf7 https://github.com/geany/geany-plugins/commit/b01580a6d5c7da95f88e6dd374b736...
Log Message: ----------- WinInst: Check required Geany version until the third level
This change adds checking for 1.25.0 or 1.24.99 instead of just 1.25 and so allows more fine grained version depedency checking.
Modified Paths: -------------- build/geany-plugins.nsi
Modified: build/geany-plugins.nsi 4 lines changed, 3 insertions(+), 1 deletions(-) =================================================================== @@ -264,7 +264,9 @@ Function CheckForGeany IntOp $R2 $R0 >> 16 IntOp $R2 $R2 & 0x0000FFFF ; $R2 now contains major version IntOp $R3 $R0 & 0x0000FFFF ; $R3 now contains minor version - StrCpy $0 "$R2.$R3" + IntOp $R4 $R1 >> 16 + IntOp $R4 $R4 & 0x0000FFFF ; $R4 now contains release + StrCpy $0 "$R2.$R3.$R4" StrCmp $0 ${REQUIRED_GEANY_VERSION} version_check_done 0 MessageBox MB_YESNO|MB_ICONEXCLAMATION \ "You have Geany $0 installed but you need Geany ${REQUIRED_GEANY_VERSION}.$\nDo you really want to continue?" \
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).