Standalone Mode Staff Client Shortcuts
authorPranjal Prabhash <pranjal.prabhash@gmail.com>
Mon, 9 Apr 2012 14:55:08 +0000 (10:55 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 5 Jun 2013 02:57:58 +0000 (22:57 -0400)
This commit addresses LP#955283, which requested the creation
of a Windows shortcut for Evergreen's standalone staff client
mode.

Signed-off-by: Pranjal Prabhash <pranjal.prabhash@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/windowssetup.nsi

index e0bc1ef..a954357 100644 (file)
@@ -107,11 +107,13 @@ Section "Staff Client" SECMAIN
   CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
   !ifdef WICON
   CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client.lnk" "$INSTDIR\evergreen.exe" "" "$INSTDIR\evergreen.ico"
+  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client (Standalone).lnk" "$INSTDIR\evergreen.exe" "-ILSoffline" "$INSTDIR\evergreen.ico"
   !ifdef PROFILES
   CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client Profile Manager.lnk" "$INSTDIR\evergreen.exe" "-profilemanager" "$INSTDIR\evergreen.ico"
   !endif
   !else
   CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client.lnk" "$INSTDIR\evergreen.exe"
+  CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client (Standalone).lnk" "$INSTDIR\evergreen.exe" "-ILSoffline"
   !ifdef PROFILES
   CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client Profile Manager.lnk" "$INSTDIR\evergreen.exe" "-profilemanager"
   !endif
@@ -271,6 +273,7 @@ Section Uninstall
   Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
   Delete "$DESKTOP\Evergreen Staff Client ${PRODUCT_TAG}.lnk"
   Delete "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client.lnk"
+  Delete "$SMPROGRAMS\$ICONS_GROUP\Evergreen Staff Client (Standalone).lnk"
 
   ; External script for removing extra files before we wipe out the install directory
   !ifdef EXTRAS