Standalone Mode Staff Client Shortcuts user/mrpeters-isl/standalone_mode_shortcut
authorPranjal Prabhash <pranjal.prabhash@gmail.com>
Mon, 9 Apr 2012 14:55:08 +0000 (10:55 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Mon, 9 Apr 2012 14:56:12 +0000 (10:56 -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
Open-ILS/xul/staff_client/windowssetup.nsi

index 847eedc..32784a7 100644 (file)
@@ -104,11 +104,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
@@ -268,6 +270,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